The branch main has been updated by jkoshy:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=81dc3a4d3bb9fd0847530a3530f860e08a9b3ad3

commit 81dc3a4d3bb9fd0847530a3530f860e08a9b3ad3
Author:     Joseph Koshy <jko...@freebsd.org>
AuthorDate: 2024-02-19 16:46:45 +0000
Commit:     Joseph Koshy <jko...@freebsd.org>
CommitDate: 2024-02-20 08:27:30 +0000

    tools/net80211/wlanwatch: Remove obsolete code.
    
    The symbol NI_WITHSCOPEID has not been defined by <netdb.h> since
    May 2005 (since SVN r146690).
---
 tools/tools/net80211/wlanwatch/wlanwatch.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tools/tools/net80211/wlanwatch/wlanwatch.c 
b/tools/tools/net80211/wlanwatch/wlanwatch.c
index def94454cfab..6e3bfd798c2d 100644
--- a/tools/tools/net80211/wlanwatch/wlanwatch.c
+++ b/tools/tools/net80211/wlanwatch/wlanwatch.c
@@ -193,9 +193,6 @@ routename(struct sockaddr *sa)
        {
                struct sockaddr_in6 sin6; /* use static var for safety */
                int niflags = 0;
-#ifdef NI_WITHSCOPEID
-               niflags = NI_WITHSCOPEID;
-#endif
 
                memset(&sin6, 0, sizeof(sin6));
                memcpy(&sin6, sa, sa->sa_len);

Reply via email to