diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-01-14 00:44:04 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-01-14 00:44:58 +0100 |
commit | 689c389d2205779757da6cff0a27c3c2beb7d867 (patch) | |
tree | 929da3993ad08c5215567f9904cac329d46c33c6 /package/dsniff/patches/patch-arp_c | |
parent | 2267158ebee2af86e17b7c1a681d24f48b823865 (diff) |
remove old package
Diffstat (limited to 'package/dsniff/patches/patch-arp_c')
-rw-r--r-- | package/dsniff/patches/patch-arp_c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/package/dsniff/patches/patch-arp_c b/package/dsniff/patches/patch-arp_c deleted file mode 100644 index f14b04827..000000000 --- a/package/dsniff/patches/patch-arp_c +++ /dev/null @@ -1,30 +0,0 @@ -$Id$ ---- dsniff-2.4.orig/arp.c 2001-03-15 09:32:58.000000000 +0100 -+++ dsniff-2.4/arp.c 2007-01-23 00:20:48.000000000 +0100 -@@ -39,7 +39,7 @@ - - #ifdef BSD - int --arp_cache_lookup(in_addr_t ip, struct ether_addr *ether) -+arp_cache_lookup(in_addr_t ip, struct ether_addr *ether, const char *lif) - { - int mib[6]; - size_t len; -@@ -91,7 +91,7 @@ arp_cache_lookup(in_addr_t ip, struct et - #endif - - int --arp_cache_lookup(in_addr_t ip, struct ether_addr *ether) -+arp_cache_lookup(in_addr_t ip, struct ether_addr *ether, const char *lif) - { - int sock; - struct arpreq ar; -@@ -99,7 +99,7 @@ arp_cache_lookup(in_addr_t ip, struct et - - memset((char *)&ar, 0, sizeof(ar)); - #ifdef __linux__ -- strncpy(ar.arp_dev, "eth0", sizeof(ar.arp_dev)); /* XXX - *sigh* */ -+ strncpy(ar.arp_dev, lif, strlen(lif)); - #endif - sin = (struct sockaddr_in *)&ar.arp_pa; - sin->sin_family = AF_INET; |