diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-10-16 12:24:24 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-10-16 12:24:24 +0000 |
commit | fce4f472c4e51e5373e70bd34c59c5f2e1650225 (patch) | |
tree | fc4a90eca85067986bb74bbb8323d544e33dd63c | |
parent | 4e97fcc9d6154a96abe3222312f7c8a6584c7059 (diff) |
oups, unrelated changes crept in
-rw-r--r-- | usr.sbin/bgpd/kroute.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c index 05f845fc609..367b1af2d73 100644 --- a/usr.sbin/bgpd/kroute.c +++ b/usr.sbin/bgpd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.108 2004/10/16 09:33:03 henning Exp $ */ +/* $OpenBSD: kroute.c,v 1.109 2004/10/16 12:24:23 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -400,19 +400,6 @@ kr_show_route(struct imsg *imsg) send_imsg_session(IMSG_CTL_END, imsg->hdr.pid, NULL, 0); } -void -kr_ifinfo(char *ifname) -{ - struct kif_node *kif; - - RB_FOREACH(kif, kif_tree, &kit) - if (!strcmp(ifname, kif->k.ifname)) { - send_imsg_session(IMSG_IFINFO, 0, - &kif->k, sizeof(kif->k)); - return; - } -} - /* * RB-tree compare functions */ @@ -965,8 +952,6 @@ if_change(u_short ifindex, int flags, struct if_data *ifd) kif->k.media_type = ifd->ifi_type; kif->k.baudrate = ifd->ifi_baudrate; - send_imsg_session(IMSG_IFINFO, 0, &kif->k, sizeof(kif->k)); - if ((reachable = (flags & IFF_UP) && (ifd->ifi_link_state != LINK_STATE_DOWN)) == kif->k.nh_reachable) return; /* nothing changed wrt nexthop validity */ |