diff options
author | Brian Somers <brian@FreeBSD.org> | 1998-01-11 18:38:08 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1998-01-11 18:38:08 +0000 |
commit | cc07bc54f21f050d278c3863bcd269c7c1ffc87f (patch) | |
tree | 0660605cb4144fe12c29ca5f10f845d02039ce1b /net-mgmt/arpwatch | |
parent | f46eaf8ec6fe2fd4ee23bb5d47464514571dbb06 (diff) | |
download | ports-cc07bc54f21f050d278c3863bcd269c7c1ffc87f.tar.gz ports-cc07bc54f21f050d278c3863bcd269c7c1ffc87f.zip |
Remove if_var.h stuff added by me.
Notes
Notes:
svn path=/head/; revision=9325
Diffstat (limited to 'net-mgmt/arpwatch')
-rw-r--r-- | net-mgmt/arpwatch/files/patch-aa | 31 | ||||
-rw-r--r-- | net-mgmt/arpwatch/files/patch-ab | 19 |
2 files changed, 16 insertions, 34 deletions
diff --git a/net-mgmt/arpwatch/files/patch-aa b/net-mgmt/arpwatch/files/patch-aa index 4dcbce3db439..354bd448d8c3 100644 --- a/net-mgmt/arpwatch/files/patch-aa +++ b/net-mgmt/arpwatch/files/patch-aa @@ -1,18 +1,19 @@ -*** arpwatch.c.orig Thu Jan 2 04:57:42 1997 ---- arpwatch.c Sun Mar 30 13:21:09 1997 +*** arp2ethers.orig Tue Mar 29 11:44:52 1994 +--- arp2ethers Tue Jul 1 02:34:40 1997 *************** -*** 43,48 **** ---- 43,55 ---- - #endif - #include <net/if.h> +*** 14,20 **** + # -+ #ifdef __FreeBSD__ -+ #include <osreldate.h> -+ #if __FreeBSD_version >= 300000 -+ #include <net/if_var.h> -+ #endif -+ #endif -+ - #include <netinet/in.h> - #include <netinet/if_ether.h> + sort +2rn arp.dat | \ +! awk -e 'NF == 4 { print }' | \ + awk -f p.awk | \ + egrep -v '\.[0-9][0-9]*$' | \ + sed -e 's/ .* / /' | \ +--- 14,20 ---- + # + sort +2rn arp.dat | \ +! awk 'NF == 4 { print }' | \ + awk -f p.awk | \ + egrep -v '\.[0-9][0-9]*$' | \ + sed -e 's/ .* / /' | \ diff --git a/net-mgmt/arpwatch/files/patch-ab b/net-mgmt/arpwatch/files/patch-ab deleted file mode 100644 index 354bd448d8c3..000000000000 --- a/net-mgmt/arpwatch/files/patch-ab +++ /dev/null @@ -1,19 +0,0 @@ -*** arp2ethers.orig Tue Mar 29 11:44:52 1994 ---- arp2ethers Tue Jul 1 02:34:40 1997 -*************** -*** 14,20 **** - # - - sort +2rn arp.dat | \ -! awk -e 'NF == 4 { print }' | \ - awk -f p.awk | \ - egrep -v '\.[0-9][0-9]*$' | \ - sed -e 's/ .* / /' | \ ---- 14,20 ---- - # - - sort +2rn arp.dat | \ -! awk 'NF == 4 { print }' | \ - awk -f p.awk | \ - egrep -v '\.[0-9][0-9]*$' | \ - sed -e 's/ .* / /' | \ |