Jasmine wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> i tested out to print $dstip alone.. and it works. $dstip does has a value.
Jasmine.
I think you may simply be printing out the wrong variable. Your
original code has:
if ($A1 != 111 || $B1 != 222 || $C1 != 333) {
print "$srcip $dstport\n";
}
I think this should be
print "$srcip $dstip\n";
as it's quite likely that the port number will be unspecified.
HTH,
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]