summaryrefslogtreecommitdiffstats
path: root/proto/rip/rip.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-05-10 15:23:21 +0200
committerPavel Machek <pavel@ucw.cz>2000-05-10 15:23:21 +0200
commit3e474192745e7e92d27cad7ffa16a8395e884cf2 (patch)
tree205971f0bffb8f6cca32617755979d9c879f1b4d /proto/rip/rip.h
parent30aa02d70df2275d2289d9b736d879b9951bcaee (diff)
downloadbird-3e474192745e7e92d27cad7ffa16a8395e884cf2.tar
bird-3e474192745e7e92d27cad7ffa16a8395e884cf2.zip
Inlined metric and mode into struct rip_interface to make reconfig
work. reconfigure is conservative but should work.
Diffstat (limited to 'proto/rip/rip.h')
-rw-r--r--proto/rip/rip.h5
1 files changed, 3 insertions, 2 deletions
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