Revision 061ab802 proto/ospf/neighbor.c

View differences:

proto/ospf/neighbor.c
451 451
  me.state = NEIGHBOR_2WAY;
452 452
  me.rid = myid;
453 453
  me.priority = ifa->priority;
454
  me.ip = ifa->iface->addr->ip;
455 454

  
456 455
#ifdef OSPFv2
456
  me.ip = ifa->iface->addr->ip;
457 457
  me.dr = ipa_to_u32(ifa->drip);
458 458
  me.bdr = ipa_to_u32(ifa->bdrip);
459 459
#else /* OSPFv3 */
460
  me.ip = ifa->lladdr;
460 461
  me.dr = ifa->drid;
461 462
  me.bdr = ifa->bdrid;
462 463
  me.iface_id = ifa->iface->index;

Also available in: Unified diff