From 3e474192745e7e92d27cad7ffa16a8395e884cf2 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Wed, 10 May 2000 13:23:21 +0000 Subject: Inlined metric and mode into struct rip_interface to make reconfig work. reconfigure is conservative but should work. --- proto/rip/rip.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'proto/rip/rip.h') diff --git a/proto/rip/rip.h b/proto/rip/rip.h index cbddeaf..442232d 100644 --- a/proto/rip/rip.h +++ b/proto/rip/rip.h @@ -101,7 +101,8 @@ struct rip_interface { struct iface *iface; sock *sock; struct rip_connection *busy; - struct rip_patt *patt; + int metric; /* You don't want to put struct rip_patt *patt here -- think about reconfigure */ + int mode; int triggered; struct object_lock *lock; int multicast; @@ -121,6 +122,7 @@ struct rip_patt { struct rip_proto_config { struct proto_config c; list iface_list; /* Patterns configured -- keep it first; see rip_reconfigure why */ + struct password_item *passwords; /* Passwords, keep second */ int infinity; /* User configurable data */ int port; @@ -128,7 +130,6 @@ struct rip_proto_config { int garbage_time; int timeout_time; - struct password_item *passwords; int authtype; #define AT_NONE 0 #define AT_PLAINTEXT 2 -- cgit v1.2.3