aboutsummaryrefslogtreecommitdiff
path: root/include/protocols
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2004-02-25 23:45:57 +0000
committerBruce M Simpson <bms@FreeBSD.org>2004-02-25 23:45:57 +0000
commitc39ebb1dbbc3472af7600a106838b8e4ee6163e6 (patch)
treee4203cef0e18ccd65dbc668359693d2d9e6ed679 /include/protocols
parent094bdd260c4a401e67de381f146681edde6dd334 (diff)
parentcaa79e368ec2cd0a6c85c7febfc8b6d26779b6c6 (diff)
Notes
Diffstat (limited to 'include/protocols')
-rw-r--r--include/protocols/routed.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/protocols/routed.h b/include/protocols/routed.h
index e41a0ae339a0..b55b62250788 100644
--- a/include/protocols/routed.h
+++ b/include/protocols/routed.h
@@ -33,6 +33,7 @@
* @(#)routed.h 8.1 (Berkeley) 6/2/93
*
* $FreeBSD$
+ * $Revision: 2.26 $
*/
#ifndef _ROUTED_H_
@@ -98,7 +99,9 @@ struct netauth {
int8_t md5_auth_len; /* 16 */
u_int32_t md5_seqno; /* sequence number */
u_int32_t rsvd[2]; /* must be 0 */
-#define RIP_AUTH_MD5_LEN RIP_AUTH_PW_LEN
+#define RIP_AUTH_MD5_KEY_LEN RIP_AUTH_PW_LEN
+#define RIP_AUTH_MD5_HASH_XTRA (sizeof(struct netauth)-sizeof(struct a_md5))
+#define RIP_AUTH_MD5_HASH_LEN (RIP_AUTH_MD5_KEY_LEN+RIP_AUTH_MD5_HASH_XTRA)
} a_md5;
} au;
};