mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Use LIFC_UNDER_IPMP when enumerating Solaris interfaces.
An IPMP interface is a special kind of interface made up of other interfaces. The other interfaces are hidden by default unless this flag is passed to ioctl(SIOCGLIFCONF). This allows me to scan over an IPMP interface in a simple setup.
This commit is contained in:
parent
8742d23477
commit
49aafa4a38
1 changed files with 3 additions and 0 deletions
|
|
@ -902,6 +902,9 @@ intf_loop(intf_t *intf, intf_handler callback, void *arg)
|
|||
|
||||
entry = (struct intf_entry *)ebuf;
|
||||
|
||||
/* 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_buf = (caddr_t)intf->ifcbuf;
|
||||
intf->lifc.lifc_len = sizeof(intf->ifcbuf);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue