diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-17 18:27:20 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-17 18:27:20 +0000 |
commit | 97bd0f54ec2da4c00c4eb164df1298705f4b4365 (patch) | |
tree | 1484e75d4f6ccaa3679efa132bb3eb771e092b9c /usr.sbin/bgpd/bgpd.h | |
parent | e388665cbd2fa470fbd79944ae0a999a4886c590 (diff) |
keep & track interface names as well, not only indices
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index 39615654dc2..89e6259eeb5 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.69 2004/01/17 18:05:46 henning Exp $ */ +/* $OpenBSD: bgpd.h,v 1.70 2004/01/17 18:27:19 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -19,9 +19,11 @@ #define __BGPD_H__ #include <sys/types.h> +#include <sys/socket.h> #include <sys/queue.h> #include <netinet/in.h> #include <arpa/inet.h> +#include <net/if.h> #include <poll.h> #include <stdarg.h> @@ -230,6 +232,7 @@ struct kroute_nexthop { struct kif { u_short ifindex; int flags; + char ifname[IFNAMSIZ]; }; struct session_up { |