diff options
-rw-r--r-- | usr.sbin/bgpd/log.c | 4 | ||||
-rw-r--r-- | usr.sbin/bgpd/session.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/log.c b/usr.sbin/bgpd/log.c index 44ffacd1938..d95f12043ce 100644 --- a/usr.sbin/bgpd/log.c +++ b/usr.sbin/bgpd/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.26 2004/01/27 22:18:29 henning Exp $ */ +/* $OpenBSD: log.c,v 1.27 2004/01/28 22:12:33 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -378,7 +378,7 @@ log_addr(const struct bgpd_addr *addr) { static char buf[48]; - if(inet_ntop(addr->af, &addr->ba, buf, sizeof(buf)) == NULL) + if (inet_ntop(addr->af, &addr->ba, buf, sizeof(buf)) == NULL) return ("?"); else return (buf); diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index 591209d737e..6e84f62af9d 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.101 2004/01/28 19:24:06 henning Exp $ */ +/* $OpenBSD: session.c,v 1.102 2004/01/28 22:12:33 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -344,7 +344,7 @@ session_main(struct bgpd_config *config, struct peer *cpeers, int pipe_m2s[2], for (p = peers; p != NULL; p = p->next) bgp_fsm(p, EVNT_STOP); - + control_shutdown(); log_info("session engine exiting"); _exit(0); |