diff options
Diffstat (limited to 'src/cmd/netstack/udp.c')
-rw-r--r-- | src/cmd/netstack/udp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/netstack/udp.c b/src/cmd/netstack/udp.c index 3d560ae..285af41 100644 --- a/src/cmd/netstack/udp.c +++ b/src/cmd/netstack/udp.c @@ -1,5 +1,6 @@ #include "proto.h" #include "util.h" +#include <err.h> enum { SrcPort = 0, @@ -55,7 +56,7 @@ struct udp_conn *udpc_new( c->rport = u.dst; if (arpcache_get(c->rip, &c->rmac) < 0) { // TODO make arp request, wait for reply - eprintf("not in ARP cache, unimplemented"); + warnx("IP not in ARP cache, unimplemented"); free(c); return NULL; } |