Implemented ARP self-detection by Red Hat 7.3.
authorshort <>
Thu, 2 Dec 2004 15:57:31 +0000 (15:57 +0000)
committershort <>
Thu, 2 Dec 2004 15:57:31 +0000 (15:57 +0000)
harpy

diff --git a/harpy b/harpy
index ecb0e6c..c465e19 100755 (executable)
--- a/harpy
+++ b/harpy
@@ -281,6 +281,7 @@ for (;;) {
                $V and print localtime()." got: type=$type,tell=$tell,who_has=$who_has,tell_hw=$tell_hw\n";
                if ($type eq "REQUEST") {
                        next if $tell eq $who_has;      # do not reply to self-detection queries
+                       next if $tell eq "0.0.0.0";     # self-detection by Red Hat 7.3
                        my $msg_reply=arp_pack(
                                        "FF:FF:FF:FF:FF:FF",    # dst_hw
                                        $hash->{"hw"},          # src_hw