summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-12-23 01:06:22 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-12-23 01:06:22 +0000
commitd7fd4a13c62ac2d16ea4e2646be3b76940fef497 (patch)
tree33ac21b74746caafd79dbc0db730bff597079b47 /usr.sbin/bgpd/bgpd.h
parentef5c8e75746e73e2fb914ff36b40cd079cb9f3a5 (diff)
allow the listening address to be specified, default to INADDR_ANY
should make jose@ happy
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-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 bc3d22f26c7..5502ddb6762 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.13 2003/12/22 15:22:13 henning Exp $ */
+/* $OpenBSD: bgpd.h,v 1.14 2003/12/23 01:06:21 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -99,6 +99,7 @@ struct bgpd_config {
u_int32_t bgpid;
u_int16_t holdtime;
u_int16_t min_holdtime;
+ struct sockaddr_in listen_addr;
struct peer *peers;
};