pkgsrc/net/xorp/patches/patch-aa
obache dbd54dec28 Update xorp to 1.6, as requested by PR 41115.
Release 1.6 (1/07/2009)
============================
  ALL:
    - XORP now builds on Linux CentOS 5.2, Linux openSUSE-11.0,
      Linux Debian-5.0 (lenny, unreleased), Linux Ubuntu 8.10,
      Linux Red Hat Enterprise Linux Server release 5 (Tikanga),
      Linux Fedora 10, and OpenBSD-4.4.

    - XORP now builds on Linux systems with kernel 2.6.26 which is the
      first one to support IPv6 multicast routing.

  CONFIGURATION:
    - If a PIM-SM router is suppose to receive and process the PIM-SM
      Bootstrap messages, the configuration must have the "bootstrap {}"
      block included (even if it is empty):

      protocols {
          pimsm4 {
              bootstrap {
              }
          }
      }

      protocols {
          pimsm6 {
              bootstrap {
              }
          }
      }

      Previously, the Bootstrap messages were unconditionally processed
      even if the "bootstrap {}" block contained "disable: true"
      statement.

    - The following CLI operational command prefix has been changed:
      OLD: "show route admin distances"
      NEW: "show route admin distance"

    - The CLI "show version" command is supported

    - Addition of run-time configuration trace options for RIP/RIPng:

      protocols {
          rip {
              traceoptions {
                  disable: false
              }
          }
      }

  LIBXORP:
    - Class EtherMac is removed and is replaced/superseded by the
      existing class Mac.

    - Performance improvements and various bug fixes in the EventLoop
      and SelectorList implementation.

  LIBXIPC:
    - XRL performance enhancements. (Bug 808)

    - Issues that might be triggered under heavy system load have been fixed
      (Bug 800)

  LIBFEACLIENT:
    - No significant changes.

  XRL:
    - See LIBXIPC

  RTRMGR:
    - No significant changes.

  XORPSH:
    - Incorrect help "show bgp peers detail" command  (Bug 280)

    - Xorpsh exiting immediately on error doesn't work  (Bug 763)

    - "Show version" CLI supported  (Bug 789)

    -  Show route admin distance not working (Bug 812)

  POLICY:
    - Tag per route is not reset in case the policies are removed (Bug 567)

    - Implement per-peer BGP import/export policies  (Bug 667)

    - Enhance policy network-lists to included prefix length (Bug 674)

  FEA/MFEA:
    - Bug fix for OpenBSD when transmitting IGMP packets.

  RIB:
    - No significant changes

  RIP/RIPng:
    - Added traceoption support

  OLSR:
    -

  OSPF:
    - When the designated router was restarted the MaxAge LSAs that it
      generated when reflected back would be responded to with a MaxAge LSA,
      this process could continue indefinitely, leaving the neighbor state in
      EXCHANGE. (Bug 785)

    - OSPF virtual links support broken in the 1.5 and 1.6 releases

  BGP:
    - Support for Red Hat Linux (Bug 793)

  STATIC_ROUTES:
    - No significant changes.

  MLD/IGMP:
    - Bug fix when checking the source address of IGMP packet if the
      source address is allowed to be 0.0.0.0.

  MLD/IGMP-Lite:
    - Bug fix when checking the source address of IGMP packet if the
      source address is allowed to be 0.0.0.0.

  PIM-SM:
      Ability to add candidate BSR after inserting Cand-RP with same group
      (Bug 803)

  FIB2MRIB:
    - No significant changes.


  SNMP:
    -

  VRRP:
    - Initial implementation of VRRP version 2 as described in RFC 3768.

    - Supports running more than one VRRP instances on the same box although
      they need to be on different interfaces and different LANs for correct
      behavior (see ERRATA).

    - The following master failure modes have been tested and are known to work
      (i.e., backup becomes master): bringing the master's interface down,
      rebooting / crashing the master, physically removing the network cable.
      Note that in the latter case the master may fail to resume operations
      when the cable is restored (see ERRATA).

    - Successfully interoperates with vrrpd.
2009-05-12 13:58:44 +00:00

30 lines
1 KiB
Text

$NetBSD: patch-aa,v 1.7 2009/05/12 13:58:44 obache Exp $
--- libxipc/sockutil.cc.orig 2009-01-05 18:30:56.000000000 +0000
+++ libxipc/sockutil.cc
@@ -305,13 +305,13 @@ get_active_ipv4_addrs(vector<IPv4>& addr
for ( ; ; ) {
ifconf.ifc_len = ifnum * sizeof(struct ifreq);
if (ifconf.ifc_buf != NULL)
- delete[] ifconf.ifc_buf;
- ifconf.ifc_buf = new char[ifconf.ifc_len];
+ free(ifconf.ifc_buf);
+ ifconf.ifc_buf = (char *)malloc(ifconf.ifc_len);
if (ioctl(s, SIOCGIFCONF, &ifconf) < 0) {
// Check UNPv1, 2e, pp 435 for an explanation why we need this
if ((errno != EINVAL) || (lastlen != 0)) {
XLOG_ERROR("ioctl(SIOCGIFCONF) failed: %s", strerror(errno));
- delete[] ifconf.ifc_buf;
+ free(ifconf.ifc_buf);
comm_close(s);
return;
}
@@ -328,7 +328,7 @@ get_active_ipv4_addrs(vector<IPv4>& addr
//
vector<uint8_t> buffer(ifconf.ifc_len);
memcpy(&buffer[0], ifconf.ifc_buf, ifconf.ifc_len);
- delete[] ifconf.ifc_buf;
+ free(ifconf.ifc_buf);
//
// Parse the interface information