summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-03-10 15:15:49 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-03-10 15:15:49 +0000
commitca9bc431e47f19584636a3665e756a609163e145 (patch)
tree2d8b8326611a2a327f8c0e683eac14c863f3ba6c /usr.sbin/bgpd/session.h
parent853ecc4e3fcf1f0cf0ee328c9746559bfa50ca20 (diff)
pass a pointer to the network list as well to session_main so we can free()
the members after fork
Diffstat (limited to 'usr.sbin/bgpd/session.h')
-rw-r--r--usr.sbin/bgpd/session.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h
index 9ab267941e4..df8bb83d4c4 100644
--- a/usr.sbin/bgpd/session.h
+++ b/usr.sbin/bgpd/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.36 2004/03/10 14:45:25 henning Exp $ */
+/* $OpenBSD: session.h,v 1.37 2004/03/10 15:15:48 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -171,7 +171,8 @@ struct peer *peers;
/* session.c */
void session_socket_blockmode(int, enum blockmodes);
int session_main(struct bgpd_config *, struct peer *,
- struct filter_head *, int[2], int[2]);
+ struct network_head *, struct filter_head *,
+ int[2], int[2]);
void bgp_fsm(struct peer *, enum session_events);
struct peer *getpeerbyip(in_addr_t);
int imsg_compose_parent(int, pid_t, void *, u_int16_t);