projects
/
psad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e6e1a5c
)
minor bug fix to call older passive OS fingerprinting routine for non-IPv6 packets
author
Michael Rash
<mbr@cipherdyne.org>
Wed, 14 Dec 2011 01:28:46 +0000 (20:28 -0500)
committer
Michael Rash
<mbr@cipherdyne.org>
Wed, 14 Dec 2011 01:28:46 +0000 (20:28 -0500)
psad
patch
|
blob
|
history
diff --git
a/psad
b/psad
index
cd21865
..
be21795
100755
(executable)
--- a/
psad
+++ b/
psad
@@
-2740,10
+2740,10
@@
sub parse_ip_options() {
sub posf() {
my $pkt_hr = shift;
- if ($pkt_hr->{'is_ipv4'}) {
- &posf_ipv4($pkt_hr);
- } elsif ($pkt_hr->{'is_ipv6'}) {
+ if ($pkt_hr->{'is_ipv6'}) {
&posf_ipv6($pkt_hr);
+ } else {
+ &posf_ipv4($pkt_hr);
}
return;
}