Revision 2d0b7e24 proto/bgp/bgp.c

View differences:

proto/bgp/bgp.c
718 718
{
719 719
  /* Called only for single-hop BGP sessions */
720 720

  
721
  /* Remove this ? */
722 721
  if (ipa_zero(p->source_addr))
723
    p->source_addr = p->neigh->iface->addr->ip; 
722
    p->source_addr = p->neigh->ifa->ip; 
724 723

  
725 724
#ifdef IPV6
726 725
  {

Also available in: Unified diff