summaryrefslogtreecommitdiffstats
path: root/proto/rip/rip.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-05-31 21:43:08 +0200
committerPavel Machek <pavel@ucw.cz>1999-05-31 21:43:08 +0200
commit9607536dbf7c50f9c2fc7a670eab51e5c313d10f (patch)
tree3bdb1494d3788c2e4d3a99ada22f572514ec9f60 /proto/rip/rip.h
parent72efa4b6f82222f91b63b9f61bbc88e458096ea7 (diff)
downloadbird-9607536dbf7c50f9c2fc7a670eab51e5c313d10f.tar
bird-9607536dbf7c50f9c2fc7a670eab51e5c313d10f.zip
Kill duplicity between rif and rif_patt.
Diffstat (limited to 'proto/rip/rip.h')
-rw-r--r--proto/rip/rip.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/proto/rip/rip.h b/proto/rip/rip.h
index 874c565..cee1b90 100644
--- a/proto/rip/rip.h
+++ b/proto/rip/rip.h
@@ -87,14 +87,6 @@ struct rip_interface {
sock *sock;
struct rip_connection *busy;
struct rip_patt *patt;
-
- int metric; /* User configurable data */
- int mode;
-#define IM_MULTICAST 1
-#define IM_BROADCAST 2
-#define IM_QUIET 4
-#define IM_NOLISTEN 8
-#define IM_VERSION1 16
};
struct rip_patt {
@@ -102,6 +94,11 @@ struct rip_patt {
int metric;
int mode;
+#define IM_MULTICAST 1
+#define IM_BROADCAST 2
+#define IM_QUIET 4
+#define IM_NOLISTEN 8
+#define IM_VERSION1 16
};
struct rip_proto_config {