diff options
Diffstat (limited to 'usr.sbin/bgpd/session.c')
-rw-r--r-- | usr.sbin/bgpd/session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index 8ae763b5b6b..b98e6015a0d 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.47 2003/12/27 14:28:41 henning Exp $ */ +/* $OpenBSD: session.c,v 1.48 2003/12/28 14:34:30 henning Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -327,7 +327,7 @@ bgp_fsm(struct peer *peer, enum session_events event) peer->StartTimer = 0; /* allocate read buffer */ - peer->rbuf = calloc(1, sizeof(struct peer_buf_read)); + peer->rbuf = calloc(1, sizeof(struct buf_read)); if (peer->rbuf == NULL) fatal(NULL); peer->rbuf->wpos = 0; |