From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera
Description of problem:
We are using routed in with a RIP-Router which propagates a default
route. routed correctly accepts the default route and insert it into
the routing table.
routed -d -t
works, after pressing CTRL-C routed correctly deletes the learned
service routed start
service routed stop
DOESN'T WORK, the default route is still there.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. service routed start
2. service routed stop
3. ip route show
Actual Results: 2 default routes
Expected Results: 1 default routes
This fixes the problem:
--- /etc/init.d/routed.orig 2004-11-26 13:46:05.435892872 +0100
+++ /etc/init.d/routed 2004-11-26 13:55:49.520098576 +0100
@@ -39,7 +39,7 @@
echo -n $"Stopping routed (RIP) services: "
- killproc routed
+ killproc routed -2
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/routed
I would normally suggest people use a rip-2 aware tool or OSPF. Thanks
for the patch. I will roll a new package when I get some time.