summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/kroute.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/kroute.c')
-rw-r--r--usr.sbin/bgpd/kroute.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c
index 666f437624b..b65609d83c9 100644
--- a/usr.sbin/bgpd/kroute.c
+++ b/usr.sbin/bgpd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.188 2011/05/01 12:56:04 claudio Exp $ */
+/* $OpenBSD: kroute.c,v 1.189 2012/05/27 18:52:07 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1083,6 +1083,9 @@ kr_net_match(struct ktable *kt, struct kroute *kr)
if (kr->flags & F_CONNECTED)
return (xn);
break;
+ case NETWORK_MRTCLONE:
+ /* can not happen */
+ break;
}
}
return (NULL);
@@ -1112,6 +1115,9 @@ kr_net_match6(struct ktable *kt, struct kroute6 *kr6)
if (kr6->flags & F_CONNECTED)
return (xn);
break;
+ case NETWORK_MRTCLONE:
+ /* can not happen */
+ break;
}
}
return (NULL);