summaryrefslogtreecommitdiff
path: root/proto/rip/rip.h
diff options
context:
space:
mode:
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;