Oh Gawd! I'm starting to understand this. When will the inhumanity of it all end?!?!?!?
Next in our list of errors (done soon I hope. Line 526 of 630):
delete(VPNSESSION[$4][PORT])
Which I of course changed to:
delete(VPNSESSION[$4,PORT])
But it still doesn't work. Are we trying to...
So then:
if ($4 in VPNSESSION)
if (PORT in VPNSESSION[$4])
if ("startim" in VPNSESSION[$4][PORT])
SESSTIME = time(YEAR,MONTH,DAY,HOUR,MINUTE,SECOND) - VPNSESSION[$4][PORT]["startim"]
should read:
if ($4 in VPNSESSION)
if (PORT in VPNSESSION[$4])
if...
I have an AWK script that I'm working on and, unfortunately, I don't know AWK at all. I know PERL better so I am trying to convert the AWK script to PERL using the a2p.exe included with the ActiveState perl install.
Anyway.....
The a2p.exe bombs out on several lines. The first one is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.