mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Fix printing of sockaddr prefixes in verbose mode.
PR: bin/122403 Submitted by: az MFC after: 3 days
This commit is contained in:
parent
196afaa91c
commit
d4f2098b47
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178065
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue