summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2002-04-07 17:01:20 +0000
committerasmodai <asmodai@FreeBSD.org>2002-04-07 17:01:20 +0000
commit8205bae0f1730d9e11dc105b8a68dcd38908eff9 (patch)
tree191925debae7ae948d73ed2e2ed725391f154edf /sbin
parent49f7c324412b334ba9c9f8f70f83ddaf7bebb25b (diff)
downloadFreeBSD-src-8205bae0f1730d9e11dc105b8a68dcd38908eff9.zip
FreeBSD-src-8205bae0f1730d9e11dc105b8a68dcd38908eff9.tar.gz
Add the possibility to use a no_rip_out configuration option in order
to stop routed from sending out RIP updates. PR: 29090 Submitted by: Matthew Braithwaite <mab@red-bean.com>
Diffstat (limited to 'sbin')
-rw-r--r--sbin/routed/parms.c3
-rw-r--r--sbin/routed/routed.82
2 files changed, 5 insertions, 0 deletions
diff --git a/sbin/routed/parms.c b/sbin/routed/parms.c
index 3e1b0ab..7a2c34a 100644
--- a/sbin/routed/parms.c
+++ b/sbin/routed/parms.c
@@ -714,6 +714,9 @@ parse_parms(char *line,
} else if (PARS("no_super_ag")) {
parm.parm_int_state |= IS_NO_SUPER_AG;
+ } else if (PARS("no_rip_out")) {
+ parm.parm_int_state |= IS_NO_RIP_OUT;
+
} else if (PARS("no_ripv1_in")) {
parm.parm_int_state |= IS_NO_RIPV1_IN;
diff --git a/sbin/routed/routed.8 b/sbin/routed/routed.8
index 1c9002a..496d4f5 100644
--- a/sbin/routed/routed.8
+++ b/sbin/routed/routed.8
@@ -591,6 +591,8 @@ causes
to act as a client router discovery daemon, not advertising.
.It Cm no_rip_mcast
causes RIPv2 packets to be broadcast instead of multicast.
+.It Cm no_rip_out
+causes no RIP updates to be sent.
.It Cm no_ripv1_in
causes RIPv1 received responses to be ignored.
.It Cm no_ripv2_in
OpenPOWER on IntegriCloud