diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-09 19:08:51 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-09 19:08:51 +0000 |
commit | cfcc8923d3acdff51209b5fc0b3b4bfb37e0f0a0 (patch) | |
tree | bead254d3ec08b46a09e7e529e951b82aa19fd9e /usr.sbin/bgpd/session.c | |
parent | 6d0e187df0d2a1741e538eea727a0d16d35daf96 (diff) |
for IMSG_CTL_KROUTEs allow matching based on flags,
add IMGS_CTL_KROUTE_ADDR to match the route for a given address
ok claudio@
Diffstat (limited to 'usr.sbin/bgpd/session.c')
-rw-r--r-- | usr.sbin/bgpd/session.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index 1a3fc706951..2a2d915ab8c 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.76 2004/01/09 13:47:08 henning Exp $ */ +/* $OpenBSD: session.c,v 1.77 2004/01/09 19:08:50 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -1411,6 +1411,7 @@ session_dispatch_imsg(struct imsgbuf *ibuf, int idx) } break; case IMSG_CTL_KROUTE: + case IMSG_CTL_KROUTE_ADDR: case IMSG_CTL_END: if (idx != PFD_PIPE_MAIN) fatalx("reconf request not from parent"); |