diff options
author | ru <ru@FreeBSD.org> | 2008-04-10 12:16:20 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2008-04-10 12:16:20 +0000 |
commit | 8c165de42e29a3fd82264111206def6a139aec43 (patch) | |
tree | a91a9a5dc9244f2a8c944107dd3976dbad2493b3 /sbin | |
parent | 954a4e06d7c1ef6bba6b5c8771d0b09deb8df5ae (diff) | |
download | FreeBSD-src-8c165de42e29a3fd82264111206def6a139aec43.zip FreeBSD-src-8c165de42e29a3fd82264111206def6a139aec43.tar.gz |
Fix printing of sockaddr prefixes in verbose mode.
PR: bin/122403
Submitted by: az
MFC after: 3 days
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/route/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c index b94f457..082ac53 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -1187,7 +1187,7 @@ rtmsg(cmd, flags) #define NEXTADDR(w, u) \ if (rtm_addrs & (w)) {\ l = SA_SIZE(&(u.sa)); memmove(cp, &(u), l); cp += l;\ - if (verbose) sodump(&(u),"u");\ + if (verbose) sodump(&(u),#u);\ } errno = 0; |