summaryrefslogtreecommitdiffstats
path: root/sbin/routed/output.c
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2014-10-09 23:49:36 +0000
committerhrs <hrs@FreeBSD.org>2014-10-09 23:49:36 +0000
commit33c910e72dc927eebc9a7c0b595cc31d760a5eb0 (patch)
tree44db05e339de9639304fb44a8b52aa71e34698f9 /sbin/routed/output.c
parentc1d2c479c7805e938cfe55e0f60b72e02c14c4d8 (diff)
downloadFreeBSD-src-33c910e72dc927eebc9a7c0b595cc31d760a5eb0.zip
FreeBSD-src-33c910e72dc927eebc9a7c0b595cc31d760a5eb0.tar.gz
MFC r271919:
Fix a bug which could make routed(8) daemon exit by sending a special RIP query from a remote machine, and disable accepting it by default. This requests a routed(8) daemon to dump routing information base for debugging purpose. An -i flag to enable it has been added.
Diffstat (limited to 'sbin/routed/output.c')
-rw-r--r--sbin/routed/output.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sbin/routed/output.c b/sbin/routed/output.c
index 53eb4a5..c2ed468 100644
--- a/sbin/routed/output.c
+++ b/sbin/routed/output.c
@@ -673,8 +673,6 @@ supply(struct sockaddr_in *dst,
struct rt_entry *rt;
int def_metric;
- assert(ifp != NULL);
-
ws.state = 0;
ws.gen_limit = 1024;
OpenPOWER on IntegriCloud