diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-27 02:35:25 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-27 02:35:25 +0000 |
commit | fb770dbcf2089bb051cb5aaf01b6f08969cf3539 (patch) | |
tree | bfdd6cf9883539c47ad53e27d0d8eb85cba80abd /usr.sbin/bgpd | |
parent | 940b85328b4c5cdb2a3f6e198f6f3297d515a600 (diff) |
curpeer must be set back to curgroup, not NULL
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y index 929944e78ed..84681966635 100644 --- a/usr.sbin/bgpd/parse.y +++ b/usr.sbin/bgpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.86 2004/04/26 20:07:43 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.87 2004/04/27 02:35:24 henning Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -397,7 +397,7 @@ neighbor : { curpeer = new_peer(); } curpeer->next = peer_l; peer_l = curpeer; - curpeer = NULL; + curpeer = curgroup; } ; |