FreeBSD Bugzilla – Attachment 253269 Details for
Bug 272749
ndp(8): correct a few xo_emit formats
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
few things have been patched but these trivial corrections are still missing
ndp.diff (text/plain), 1.25 KB, created by
Helge Oldach
on 2024-09-02 05:55:59 UTC
(
hide
)
Description:
few things have been patched but these trivial corrections are still missing
Filename:
MIME Type:
Creator:
Helge Oldach
Created:
2024-09-02 05:55:59 UTC
Size:
1.25 KB
patch
obsolete
>diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c >index 4f7c32f0fdf7..a9c8912db158 100644 >--- a/usr.sbin/ndp/ndp.c >+++ b/usr.sbin/ndp/ndp.c >@@ -634,7 +634,7 @@ dump_rtsock(struct sockaddr_in6 *addr, int cflag) > if (!opts.tflag && !cflag) { > char xobuf[200]; > snprintf(xobuf, sizeof(xobuf), >- "{T:/%%-%d.%ds} {T:/%%-%d.%ds} {T:/%%%d.%ds} {T:/%%-9.9s} {T:%%1s} {T:%%5s}\n", >+ "{T:/%%-%d.%ds} {T:/%%-%d.%ds} {T:/%%%d.%ds} {T:/%%-9.9s} {T:/%%1s} {T:/%%5s}\n", > W_ADDR, W_ADDR, W_LL, W_LL, W_IF, W_IF); > xo_emit(xobuf, "Neighbor", "Linklayer Address", "Netif", "Expire", "S", "Flags"); > } >diff --git a/usr.sbin/ndp/ndp_netlink.c b/usr.sbin/ndp/ndp_netlink.c >index 79bdec2356d0..179d715c8ded 100644 >--- a/usr.sbin/ndp/ndp_netlink.c >+++ b/usr.sbin/ndp/ndp_netlink.c >@@ -341,7 +341,7 @@ print_entries_nl(uint32_t ifindex, struct sockaddr_in6 *addr, bool cflag) > if (!opts.tflag && !cflag) { > char xobuf[200]; > snprintf(xobuf, sizeof(xobuf), >- "{T:/%%-%d.%ds} {T:/%%-%d.%ds} {T:/%%%d.%ds} {T:/%%-9.9s} {T:%%1s} {T:%%5s}\n", >+ "{T:/%%-%d.%ds} {T:/%%-%d.%ds} {T:/%%%d.%ds} {T:/%%-9.9s} {T:/%%1s} {T:/%%5s}\n", > W_ADDR, W_ADDR, W_LL, W_LL, W_IF, W_IF); > xo_emit(xobuf, "Neighbor", "Linklayer Address", "Netif", "Expire", "S", "Flags"); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 272749
:
243638
|
244806
| 253269