diff options
author | Esben Norby <norby@cvs.openbsd.org> | 2005-03-08 20:12:19 +0000 |
---|---|---|
committer | Esben Norby <norby@cvs.openbsd.org> | 2005-03-08 20:12:19 +0000 |
commit | 2408e77c2b26bb3c27a86356760d6d234729c6a3 (patch) | |
tree | 5a4b53690dcaffcca9150e86ccfc7903a7f878f6 /usr.sbin/ospfd/ospfd.c | |
parent | 8b9ec75dc9dc9f6ee62f699f99dbf7ba2d6a2185 (diff) |
Remove no longer valid route entries.
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/ospfd.c')
-rw-r--r-- | usr.sbin/ospfd/ospfd.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/ospfd.c b/usr.sbin/ospfd/ospfd.c index b135c55cf55..0cf43983da7 100644 --- a/usr.sbin/ospfd/ospfd.c +++ b/usr.sbin/ospfd/ospfd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfd.c,v 1.7 2005/03/07 10:28:14 claudio Exp $ */ +/* $OpenBSD: ospfd.c,v 1.8 2005/03/08 20:12:18 norby Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -372,7 +372,13 @@ main_dispatch_rde(int fd, short event, void *bula) switch (imsg.hdr.type) { case IMSG_KROUTE_CHANGE: if (kr_change(imsg.data)) - log_warn("main_dispatch_rde: error changing route"); + log_warn("main_dispatch_rde: error changing " + "route"); + break; + case IMSG_KROUTE_DELETE: + if (kr_delete(imsg.data)) + log_warn("main_dispatch_rde: error deleting " + "route"); break; default: log_debug("main_dispatch_rde: error handling imsg %d", |