summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-08-10 13:02:09 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-08-10 13:02:09 +0000
commit8babc5b23252c7e76e17692fe161aae7ab7cd71f (patch)
treebff104a2696e1ce7d6e0e71ef13cc74fdadba1e9 /usr.sbin/bgpd/bgpd.h
parentf8e38e32bed384b5e3285f0135e86c32d6ec684d (diff)
switch nexthop in struct filter_set form struct in_addr to struct bgpd_addr
OK henning@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index 8fe5562dbe9..86db0da8171 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.139 2004/08/06 12:04:08 claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.140 2004/08/10 13:02:07 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -157,17 +157,15 @@ enum enforce_as {
};
struct filter_set {
- u_int16_t flags;
- u_int32_t localpref;
- u_int32_t med;
- /*XXX this nexthop thing should be changed to one bgpd_addr */
- struct in_addr nexthop;
- struct in6_addr nexthop6;
- u_int8_t prepend;
- char pftable[PFTABLE_LEN];
+ u_int16_t flags;
+ u_int32_t localpref;
+ u_int32_t med;
+ struct bgpd_addr nexthop;
+ u_int8_t prepend;
+ char pftable[PFTABLE_LEN];
struct {
- int as;
- int type;
+ int as;
+ int type;
} community;
};