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-mgmt/p5-SNMP/files/patch-ac | |
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-mgmt/p5-SNMP/files/patch-ac')
-rw-r--r-- | net-mgmt/p5-SNMP/files/patch-ac | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/net-mgmt/p5-SNMP/files/patch-ac b/net-mgmt/p5-SNMP/files/patch-ac deleted file mode 100644 index 06054d198a6d..000000000000 --- a/net-mgmt/p5-SNMP/files/patch-ac +++ /dev/null @@ -1,29 +0,0 @@ ---- SNMP.xs.orig Mon Jun 7 18:02:57 1999 -+++ SNMP.xs Sat Aug 28 01:06:54 1999 -@@ -1778,6 +1778,7 @@ - struct variable_list *vars; - struct variable_list *last_vars; - struct tree *tp; -+ struct sockaddr_in *pduIp; - oid *oid_arr; - int oid_arr_len = MAX_OID_LEN; - SV *tmp_sv; -@@ -1861,14 +1862,15 @@ - &pdu->enterprise_length) != SUCCESS) { - if (verbose) warn("invalid enterprise id: %s", enterprise); - } -+ pduIp = (struct sockaddr_in *)&(pdu->agent_addr); - if (agent && strlen(agent)) { -- pdu->agent_addr.sin_addr.s_addr = __parse_address(agent); -- if (pdu->agent_addr.sin_addr.s_addr == -1 && verbose) { -+ pduIp->sin_addr.s_addr = __parse_address(agent); -+ if (pduIp->sin_addr.s_addr == -1 && verbose) { - warn("invalid agent address: %s", agent); - goto err; - } - } else { -- pdu->agent_addr.sin_addr.s_addr = get_myaddr(); -+ pduIp->sin_addr.s_addr = get_myaddr(); - } - pdu->trap_type = generic; - pdu->specific_type = specific; |