Fix printing of sockaddr prefixes in verbose mode.

PR:		bin/122403
Submitted by:	az
MFC after:	3 days
This commit is contained in:
Ruslan Ermilov 2008-04-10 12:16:20 +00:00
parent 196afaa91c
commit d4f2098b47
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178065

View File

@ -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;