mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
tools/net80211/wlanwatch: Remove obsolete code.
The symbol NI_WITHSCOPEID has not been defined by <netdb.h> since May 2005 (since SVN r146690).
This commit is contained in:
parent
0c3ade2cf1
commit
81dc3a4d3b
1 changed files with 0 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue