From e86d713be2718cafa3bd31f729231bf6c002bc5f Mon Sep 17 00:00:00 2001 From: batrick Date: Mon, 2 Apr 2012 07:10:52 +0000 Subject: [PATCH] fixed bad global --- nselib/eap.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nselib/eap.lua b/nselib/eap.lua index 68325de7a..97553c07c 100644 --- a/nselib/eap.lua +++ b/nselib/eap.lua @@ -152,7 +152,7 @@ eap_str = { } local make_eapol = function (arg) - if not arg.type then arg.type = eapol_types.PACKET end + if not arg.type then arg.type = eapol_t.PACKET end if not arg.version then arg.version = 1 end if not arg.payload then arg.payload = "" end if not arg.src then return nil end @@ -285,4 +285,4 @@ send_start = function (iface) dnet:ethernet_send(start) dnet:ethernet_close() -end \ No newline at end of file +end