Add a couple of newlines in the output from route monitor
This commit is contained in:
parent
6fb806fdd1
commit
3a36e32d8c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71061
@ -1153,7 +1153,7 @@ monitor()
|
||||
time_t now;
|
||||
n = read(s, msg, 2048);
|
||||
now = time(NULL);
|
||||
(void) printf("got message of size %d on %s", n, ctime(&now));
|
||||
(void) printf("\ngot message of size %d on %s", n, ctime(&now));
|
||||
print_rtmsg((struct rt_msghdr *)msg, n);
|
||||
}
|
||||
}
|
||||
@ -1465,8 +1465,10 @@ pmsg_addrs(cp, addrs)
|
||||
register struct sockaddr *sa;
|
||||
int i;
|
||||
|
||||
if (addrs == 0)
|
||||
if (addrs == 0) {
|
||||
(void) putchar('\n');
|
||||
return;
|
||||
}
|
||||
(void) printf("\nsockaddrs: ");
|
||||
bprintf(stdout, addrs, addrnames);
|
||||
(void) putchar('\n');
|
||||
|
Loading…
Reference in New Issue
Block a user