diff options
author | Jakob Schlyter <jakob@cvs.openbsd.org> | 2003-12-27 00:18:12 +0000 |
---|---|---|
committer | Jakob Schlyter <jakob@cvs.openbsd.org> | 2003-12-27 00:18:12 +0000 |
commit | 2ab3106e855af5e1a16fda1bd1269389eadc3162 (patch) | |
tree | 79e22541442cb53218617a0a8243337cd495e320 | |
parent | 42812dba4c208c81e988a658871ca9949bd23294 (diff) |
do not print NULL nexthop (e.g. from a withdrawn route)
-rw-r--r-- | usr.sbin/bgpd/rde.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index e51a7d9091d..c300dc37a56 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.37 2003/12/26 23:50:35 jakob Exp $ */ +/* $OpenBSD: rde.c,v 1.38 2003/12/27 00:18:11 jakob Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -532,7 +532,7 @@ rde_update_log(const char *message, "%s", neighbor, peer->conf.remote_as, message, inet_ntoa(*prefix), prefixlen, - nexthop); + nexthop ? nexthop : ""); free(neighbor); free(nexthop); |