diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2000-06-18 10:00:08 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2000-06-18 10:00:08 +0000 |
commit | e497906508084a5501f27a53a8ec0f23aa446e5b (patch) | |
tree | 152d32d807e92b14ac8ade604a4d650b637b1e93 /net/net-snmp4/files/patch-ad | |
parent | A new index, with 3,403 ports, which is a nice number, being 41 times (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_3_5_0'.release/3.5.0
Diffstat (limited to 'net/net-snmp4/files/patch-ad')
-rw-r--r-- | net/net-snmp4/files/patch-ad | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/net/net-snmp4/files/patch-ad b/net/net-snmp4/files/patch-ad deleted file mode 100644 index 6f28af0a528f..000000000000 --- a/net/net-snmp4/files/patch-ad +++ /dev/null @@ -1,29 +0,0 @@ ---- agent/mibgroup/mibII/interfaces.c~ Tue Mar 16 08:46:12 1999 -+++ agent/mibgroup/mibII/interfaces.c Sat Apr 3 13:49:28 1999 -@@ -1745,10 +1745,18 @@ - physaddrbuf = 0; - } - ifm = (struct if_msghdr *)rtm; -+#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) -+ if (physaddrs != 0) physaddrs[naddrs] = (void*)(ifm + 1); -+ naddrs++; -+#endif - ilen -= ifm->ifm_msglen; - cp += ifm->ifm_msglen; - rtm = (struct rt_msghdr *)cp; - while (ilen > 0 && rtm->rtm_type == RTM_NEWADDR) { -+#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) -+ ilen -= rtm->rtm_msglen; -+ cp += rtm->rtm_msglen; -+#else - int is_alias = 0; - ifam = (struct ifa_msghdr *)rtm; - ilen -= sizeof(*ifam); -@@ -1771,6 +1779,7 @@ - } - sa = (struct sockaddr *)cp; - } -+#endif - rtm = (struct rt_msghdr *)cp; - } - } |