mirror of
https://github.com/nmap/nmap.git
synced 2026-01-05 14:09:02 +00:00
Lua 5.2 upgrade [1] for NSE.
[1] http://seclists.org/nmap-dev/2012/q2/34
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
local bit = require "bit"
|
||||
local os = require "os"
|
||||
local package = require "package"
|
||||
local stdnse = require "stdnse"
|
||||
local string = require "string"
|
||||
_ENV = stdnse.module("gps", stdnse.seeall)
|
||||
|
||||
---
|
||||
-- A smallish gps parsing module.
|
||||
-- Currently does GPRMC NMEA decoding
|
||||
@@ -6,10 +13,6 @@
|
||||
--
|
||||
--
|
||||
|
||||
module(... or "gps", package.seeall)
|
||||
|
||||
local bit = require('bit')
|
||||
|
||||
NMEA = {
|
||||
|
||||
-- Parser for the RMC sentence
|
||||
|
||||
Reference in New Issue
Block a user