mirror of
https://github.com/nmap/nmap.git
synced 2026-01-02 04:49:02 +00:00
Consolidate raw socket acquisition.
This commit is contained in:
@@ -223,7 +223,7 @@ static int ethernet_send (lua_State *L)
|
||||
static int ip_open (lua_State *L)
|
||||
{
|
||||
nse_dnet_udata *udata = (nse_dnet_udata *) nseU_checkudata(L, 1, DNET_METATABLE, "dnet");
|
||||
udata->sock = nmap_raw_socket();
|
||||
udata->sock = netutil_raw_socket(NULL);
|
||||
if (udata->sock == -1) {
|
||||
if (o.scriptTrace())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user