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 8c853a1a0d2..a71339e8da2 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.347 2015/11/20 23:26:08 florian Exp $ */ +/* $OpenBSD: session.c,v 1.348 2016/06/06 15:59:10 benno Exp $ */ /* * Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org> @@ -2017,7 +2017,7 @@ parse_open(struct peer *peer) /* check bgpid for validity - just disallow 0 */ if (ntohl(bgpid) == 0) { - log_peer_warnx(&peer->conf, "peer BGPID %lu unacceptable", + log_peer_warnx(&peer->conf, "peer BGPID %u unacceptable", ntohl(bgpid)); session_notification(peer, ERR_OPEN, ERR_OPEN_BGPID, NULL, 0); |