diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-03-10 14:45:26 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-03-10 14:45:26 +0000 |
commit | a7c89a3d6c175ef43aecb238ce95c25527802845 (patch) | |
tree | 59b1944ce8ceafa19e167eeec6e441a90e9c589f /usr.sbin/bgpd/bgpd.c | |
parent | 0f19558f9f07930052353aba7b3d13834b933bca (diff) |
pass a pointer to the filter rule list to session_main() so we can free()
the list entries and the head there after forking
Diffstat (limited to 'usr.sbin/bgpd/bgpd.c')
-rw-r--r-- | usr.sbin/bgpd/bgpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index 9aeb5db5f35..8cb2b376101 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.82 2004/03/10 13:48:45 henning Exp $ */ +/* $OpenBSD: bgpd.c,v 1.83 2004/03/10 14:45:24 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -196,7 +196,7 @@ main(int argc, char *argv[]) /* fork children */ rde_pid = rde_main(&conf, peer_l, &net_l, rules_l, pipe_m2r, pipe_s2r); - io_pid = session_main(&conf, peer_l, pipe_m2s, pipe_s2r); + io_pid = session_main(&conf, peer_l, rules_l, pipe_m2s, pipe_s2r); setproctitle("parent"); |