From bce8a34b128f1c0495f3f7a28d832d9c2b4a9543 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Wed, 18 Aug 1999 13:19:33 +0000 Subject: Few fixme's fixed in rip (will not crash any more on request for sending routing table - hopefully). Next few steps in md5 authentication (not yet complete). --- proto/rip/rip.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'proto/rip/rip.h') diff --git a/proto/rip/rip.h b/proto/rip/rip.h index 911d347..4dcc396 100644 --- a/proto/rip/rip.h +++ b/proto/rip/rip.h @@ -8,6 +8,9 @@ #define EA_RIP_TAG EA_CODE(EAP_RIP, 0) #define EA_RIP_METRIC EA_CODE(EAP_RIP, 1) +#define PACKET_MAX 25 +#define PACKET_MD5_MAX 18 /* FIXME */ + struct rip_connection { node n; @@ -115,6 +118,10 @@ struct rip_proto_config { #define AT_NONE 0 #define AT_PLAINTEXT 2 #define AT_MD5 3 + int honour; +#define HO_NEVER 0 +#define HO_NEIGHBOUR 1 +#define HO_ALWAYS 2 }; struct rip_proto { -- cgit v1.2.3