diff options
Diffstat (limited to 'usr.sbin/bgpd/kroute.c')
-rw-r--r-- | usr.sbin/bgpd/kroute.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c index 231803a1cd3..cd586e27c2b 100644 --- a/usr.sbin/bgpd/kroute.c +++ b/usr.sbin/bgpd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.80 2004/01/27 22:15:13 henning Exp $ */ +/* $OpenBSD: kroute.c,v 1.81 2004/01/28 01:56:26 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -1207,6 +1207,11 @@ dispatch_rtmsg(void) kif_kr_insert(kr); kr->r.flags = flags; } + } else if (rtm->rtm_type == RTM_CHANGE) { + log_warnx("change req for %s/%u: not " + "in table", inet_ntoa(prefix), + prefixlen); + continue; } else { if ((kr = calloc(1, sizeof(struct kroute_node))) == NULL) { |