aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2002-04-07 17:01:20 +0000
committerJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2002-04-07 17:01:20 +0000
commit59501efcbd32708b7ac20fff931766f61fa06c69 (patch)
tree191925debae7ae948d73ed2e2ed725391f154edf /sbin
parentff9ed61c93ee9d2f00e071def40901c6e0ca107f (diff)
downloadsrc-59501efcbd32708b7ac20fff931766f61fa06c69.tar.gz
src-59501efcbd32708b7ac20fff931766f61fa06c69.zip
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>
Notes
Notes: svn path=/head/; revision=94125
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 3e1b0abb50a8..7a2c34a0d11d 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 1c9002ab2011..496d4f55ad57 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