mirror of
https://github.com/nmap/nmap.git
synced 2026-06-20 07:29:59 +00:00
Don't use LIFC_UNDER_IPMP if it's not defined.
This commit is contained in:
parent
e5b0d24607
commit
cc0f2e1e54
1 changed files with 4 additions and 1 deletions
|
|
@ -904,7 +904,10 @@ intf_loop(intf_t *intf, intf_handler callback, void *arg)
|
|||
|
||||
/* http://www.unix.com/man-page/opensolaris/7p/if_tcp */
|
||||
intf->lifc.lifc_family = AF_UNSPEC;
|
||||
intf->lifc.lifc_flags = LIFC_UNDER_IPMP;
|
||||
intf->lifc.lifc_flags = 0;
|
||||
#ifdef LIFC_UNDER_IPMP
|
||||
intf->lifc.lifc_flags |= LIFC_UNDER_IPMP;
|
||||
#endif
|
||||
intf->lifc.lifc_buf = (caddr_t)intf->ifcbuf;
|
||||
intf->lifc.lifc_len = sizeof(intf->ifcbuf);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue