[Quagga-bugs] [Bug 202] zebra and ospfd need restarting after upping/downing interfaces

bugzilla-daemon at allevil.dishone.st bugzilla-daemon at allevil.dishone.st
Mon Apr 2 11:15:32 IST 2007


Please do not reply directly to this email. All additional  
comments should be made in the comments box of this bug  
report.  
  
http://bugzilla.quagga.net/show_bug.cgi?id=202  
  




------- Additional Comments From Hoemig at gmx.de  2007-04-02 10:15 -------
If I use the following lines in rt_netlink.c

function: int netlink_interface_addr(...)
...
                       ci->ifa_prefered, ci->ifa_valid);
         }
     }

#if 1 /* BUGFIX: Ignore RTM_DELADDR/_NEWADDR */
      /*         if PPP and IFA_ADDRESS==IFA_LOCAL */
  if ((ifp->flags & IFF_POINTOPOINT) && 
      (0 == memcmp(RTA_DATA(tb[IFA_ADDRESS]),RTA_DATA(tb[IFA_LOCAL]),4))
     )
  {
     if (IS_ZEBRA_DEBUG_KERNEL)
        zlog_debug ("netlink_interface_addr %s for %s will be ignored!",
                 lookup (nlmsg_str, h->nlmsg_type), ifp->name);
     return -1;
  }
#endif /* DATUS BUGFIX: PPP-Address Add -> Remove -> Add */
  
  if (tb[IFA_ADDRESS] == NULL)
    tb[IFA_ADDRESS] = tb[IFA_LOCAL];
  
  if (ifp->flags & IFF_POINTOPOINT)
...


With this Patch everthing works fine by me.
Test it.

Bye,

Alex  
  
  
  
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Quagga-bugs mailing list