summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-02-16 17:24:05 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-02-16 17:24:05 +0000
commit5ceadd8a76b6791b2155d335b0e9eef365982afe (patch)
treea50de00d83626dab6dbaac49c3e2d4a5c6cf8595 /usr.sbin
parentc3ff022857ca1291865c3de83e5a642bbe5983bb (diff)
add scope_id for v6 to struct bgpd_addr
ok itojun, grumbling ok claudio
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpd/bgpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index ce0c93900fa..b43c5ec12cf 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.96 2004/02/16 14:26:29 claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.97 2004/02/16 17:24:04 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -93,6 +93,7 @@ struct bgpd_addr {
u_int16_t addr16[8];
u_int32_t addr32[4];
} ba; /* 128-bit address */
+ u_int32_t scope_id; /* iface scope id for v6 */
#define v4 ba.v4
#define v6 ba.v6
#define addr8 ba.addr8