The branch stable/13 has been updated by zlei:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=818a8f2ef34408e2e85d9317e67492fa165bd98a

commit 818a8f2ef34408e2e85d9317e67492fa165bd98a
Author:     Helge Oldach <free...@oldach.net>
AuthorDate: 2024-09-02 10:12:43 +0000
Commit:     Zhenlei Huang <z...@freebsd.org>
CommitDate: 2024-09-11 10:07:48 +0000

    ndp: Fix libxo formatting for the header of neighbor cache
    
    PR:             272749
    Reviewed by:    zlei
    Fixes:          e1c7783e220b ndp(8): add structured output formatting via 
libxo
    MFC after:      3 days
    
    (Note this is only a partial MFS, as the netlink part was not MFS'ed)
    
    (cherry picked from commit 209905ec384eedd58f1b9b7ab774029d22787dfb)
    (cherry picked from commit 07cf1ce012c51e30ef5078c23a7d68a9b5d87c0a)
---
 usr.sbin/ndp/ndp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c
index 425afdca56f6..c826fb8d241f 100644
--- a/usr.sbin/ndp/ndp.c
+++ b/usr.sbin/ndp/ndp.c
@@ -598,7 +598,7 @@ dump(struct sockaddr_in6 *addr, int cflag)
        if (!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");
        }

Reply via email to