]> The Tcpdump Group git mirrors - tcpdump/commit
Fixup commit 604cd4a for OpenIndiana.
authorDenis Ovsienko <[email protected]>
Mon, 16 Aug 2021 22:47:07 +0000 (23:47 +0100)
committerDenis Ovsienko <[email protected]>
Mon, 16 Aug 2021 23:01:01 +0000 (00:01 +0100)
commit4f1a63c4c3b109d14b4df003baa85cbc373c82f6
treee09b66e7e63add5d1860b56d739133f1a2714cf7
parentb73d5ba2125bb5f0a6c42afd7542acab0cab320f
Fixup commit 604cd4a for OpenIndiana.

SunOS openindiana 5.11 illumos-755ccbcfa2 i86pc i386 i86pc
gcc (OpenIndiana 10.3.0-oi-0) 10.3.0

As it turns out, in OpenIndiana 2021.04 ND_UNREACHABLE is one of the
neighbour discovery states in <net/if.h>:

In file included from ./extract.h:40,
                 from ./addrtoname.h:22,
                 from ./addrtoname.c:112:
./diag-control.h:181: warning: "ND_UNREACHABLE" redefined

In file included from ./addrtoname.c:87:
/usr/include/net/if.h:307: note: this is the location of the previous
  definition

In file included from ./extract.h:40,
                 from ./addrtoname.h:22,
                 from ./print-sll.c:36:
./diag-control.h:181: warning: "ND_UNREACHABLE" redefined

In file included from ./print-sll.c:29:
/usr/include/net/if.h:307: note: this is the location of the previous
  definition
addrtoname.c
print-sll.c