View | Details | Raw Unified | Return to bug 272749 | Differences between
and this patch

Collapse All | Expand All

(-)b/usr.sbin/ndp/ndp.c (-1 / +1 lines)
Lines 634-640 dump_rtsock(struct sockaddr_in6 *addr, int cflag) Link Here
634
	if (!opts.tflag && !cflag) {
634
	if (!opts.tflag && !cflag) {
635
		char xobuf[200];
635
		char xobuf[200];
636
		snprintf(xobuf, sizeof(xobuf),
636
		snprintf(xobuf, sizeof(xobuf),
637
		    "{T:/%%-%d.%ds} {T:/%%-%d.%ds} {T:/%%%d.%ds} {T:/%%-9.9s} {T:%%1s} {T:%%5s}\n",
637
		    "{T:/%%-%d.%ds} {T:/%%-%d.%ds} {T:/%%%d.%ds} {T:/%%-9.9s} {T:/%%1s} {T:/%%5s}\n",
638
		    W_ADDR, W_ADDR, W_LL, W_LL, W_IF, W_IF);
638
		    W_ADDR, W_ADDR, W_LL, W_LL, W_IF, W_IF);
639
		xo_emit(xobuf, "Neighbor", "Linklayer Address", "Netif", "Expire", "S", "Flags");
639
		xo_emit(xobuf, "Neighbor", "Linklayer Address", "Netif", "Expire", "S", "Flags");
640
	}
640
	}
(-)b/usr.sbin/ndp/ndp_netlink.c (-1 / +1 lines)
Lines 341-347 print_entries_nl(uint32_t ifindex, struct sockaddr_in6 *addr, bool cflag) Link Here
341
	if (!opts.tflag && !cflag) {
341
	if (!opts.tflag && !cflag) {
342
		char xobuf[200];
342
		char xobuf[200];
343
		snprintf(xobuf, sizeof(xobuf),
343
		snprintf(xobuf, sizeof(xobuf),
344
		    "{T:/%%-%d.%ds} {T:/%%-%d.%ds} {T:/%%%d.%ds} {T:/%%-9.9s} {T:%%1s} {T:%%5s}\n",
344
		    "{T:/%%-%d.%ds} {T:/%%-%d.%ds} {T:/%%%d.%ds} {T:/%%-9.9s} {T:/%%1s} {T:/%%5s}\n",
345
		    W_ADDR, W_ADDR, W_LL, W_LL, W_IF, W_IF);
345
		    W_ADDR, W_ADDR, W_LL, W_LL, W_IF, W_IF);
346
		xo_emit(xobuf, "Neighbor", "Linklayer Address", "Netif", "Expire", "S", "Flags");
346
		xo_emit(xobuf, "Neighbor", "Linklayer Address", "Netif", "Expire", "S", "Flags");
347
	}
347
	}

Return to bug 272749