git://git.jankratochvil.net
/
netdnsspoof.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
172e36a
)
Fixed so far ignored $V verbosity.
author
short
<>
Tue, 18 Jan 2005 12:01:57 +0000
(12:01 +0000)
committer
short
<>
Tue, 18 Jan 2005 12:01:57 +0000
(12:01 +0000)
netdnsspoof
patch
|
blob
|
history
diff --git
a/netdnsspoof
b/netdnsspoof
index
af67626
..
ff2a63c
100755
(executable)
--- a/
netdnsspoof
+++ b/
netdnsspoof
@@
-125,7
+125,6
@@
my($query_from_addr,$query)=@_;
$spoof->header()->id($query->header()->id());
my $msg_spoof=$spoof->data();
warn "sending spoof reply..." if $D;
$spoof->header()->id($query->header()->id());
my $msg_spoof=$spoof->data();
warn "sending spoof reply..." if $D;
- return $msg_spoof;
if ($V) {
my($query_from_addr_port,$query_from_addr_host)=sockaddr_in($query_from_addr);
my $query_from_addr_name=inet_ntoa $query_from_addr_host;
if ($V) {
my($query_from_addr_port,$query_from_addr_host)=sockaddr_in($query_from_addr);
my $query_from_addr_name=inet_ntoa $query_from_addr_host;
@@
-135,6
+134,7
@@
my($query_from_addr,$query)=@_;
." ip=".$opt_spoof_ip
."\n";
}
." ip=".$opt_spoof_ip
."\n";
}
+ return $msg_spoof;
}
sub got_forward_reply($)
}
sub got_forward_reply($)