summaryrefslogtreecommitdiffstats
path: root/ax25ipd/routing.c
diff options
context:
space:
mode:
authorCraig Small <csmall@enc.com.au>2001-11-27 04:11:49 +0000
committerCraig Small <csmall@enc.com.au>2001-11-27 04:11:49 +0000
commit886a37dd2309e60f85360ddec562417bbe741730 (patch)
treecb7b31a82181947f8f042670392b652120b6fb6e /ax25ipd/routing.c
parent6364520eb4c795e85f7893ba02de860d132c1d2c (diff)
merged my changes with terry indent, daemon can now optionally not fork
Diffstat (limited to 'ax25ipd/routing.c')
-rw-r--r--ax25ipd/routing.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ax25ipd/routing.c b/ax25ipd/routing.c
index b3af836..990c693 100644
--- a/ax25ipd/routing.c
+++ b/ax25ipd/routing.c
@@ -11,6 +11,7 @@
#include <sys/types.h>
#include <netinet/in.h>
#include <memory.h>
+#include <syslog.h>
/* The routing table structure is not visible outside this module. */
@@ -94,7 +95,7 @@ unsigned int flags;
route_tbl = rn;
/* Log this entry ... */
- LOGL4("added route: %s\t%s\t%s\t%d\t%d\n",
+ LOGL4("added route: %s %s %s %d %d\n",
call_to_a(rn->callsign),
(char *) inet_ntoa(*(struct in_addr *) rn->ip_addr),
rn->udp_port ? "udp" : "ip", ntohs(rn->udp_port), flags);