[Xorp-hackers] [greearb/xorp.ct] ce0bda: multicast: Don't crash if interface configured fo...

noreply at github.com noreply at github.com
Fri Sep 23 15:11:26 PDT 2011


  Branch: refs/heads/master
  Home:   https://github.com/greearb/xorp.ct

  Commit: ce0bda5cc5bcfbc83c8fc328ce8b634d47c9a8d7
      https://github.com/greearb/xorp.ct/commit/ce0bda5cc5bcfbc83c8fc328ce8b634d47c9a8d7
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2011-09-23 (Fri, 23 Sep 2011)

  Changed paths:
    M xorp/fea/mfea_node.cc
  M xorp/fea/mfea_vif.cc
  M xorp/mld6igmp/mld6igmp_vif.cc
  M xorp/pim/pim_node.cc
  M xorp/pim/pim_vif.cc

  Log Message:
  -----------
  multicast:  Don't crash if interface configured for mcast doesn't have MULTICAST flag.

Old code would return errors, which caused the commit to failed, which killed
fea (and mld6igmp and pim).

Instead, flag interface as wanting to start and start it later if user figures out
that they need to run the equivalent of:

interface foo multicast

Signed-off-by: Ben Greear <greearb at candelatech.com>




More information about the Xorp-hackers mailing list