summaryrefslogtreecommitdiff
path: root/proto/rip/rip.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-05-16 14:58:06 +0000
committerPavel Machek <pavel@ucw.cz>2000-05-16 14:58:06 +0000
commit898fdd85dc4568816ac0436c1b012f2fb35ef3e4 (patch)
tree9466289af581602020b475adaf893bd24df2e8a6 /proto/rip/rip.h
parent60de3356ab9b1996a84e3ba2865176a078b6d0ca (diff)
Rip should now reconfigure itself only if needed.
Diffstat (limited to 'proto/rip/rip.h')
-rw-r--r--proto/rip/rip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/rip/rip.h b/proto/rip/rip.h
index 442232db..185959ae 100644
--- a/proto/rip/rip.h
+++ b/proto/rip/rip.h
@@ -111,7 +111,7 @@ struct rip_interface {
struct rip_patt {
struct iface_patt i;
- int metric;
+ int metric; /* If you add entries here, don't forget to modify patt_compare! */
int mode;
#define IM_BROADCAST 2
#define IM_QUIET 4
@@ -124,7 +124,7 @@ struct rip_proto_config {
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 infinity; /* User configurable data; must be comparable with memcmp */
int port;
int period;
int garbage_time;