[bgpd] small fix for crash if 'listenon' argument is not given

2007-11-13 Paul Jakma <paul.jakma@sun.com>

	* bgp_main.c: Small fix, format string parameters should never
	  be NULL - it's not strictly valid and some libc's don't let
	  you away with.
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c
index 843b124..fee7f37 100644
--- a/bgpd/bgp_main.c
+++ b/bgpd/bgp_main.c
@@ -321,7 +321,9 @@
 
   /* Print banner. */
   zlog_notice ("BGPd %s starting: vty@%d, bgp@%s:%d", QUAGGA_VERSION,
-	       vty_port, bm->address, bm->port);
+	       vty_port, 
+	       (bm->address ? bm->address : "<all>", 
+	       bm->port);
 
   /* Start finite state machine, here we go! */
   while (thread_fetch (master, &thread))