Revision 672fb78e

View differences:

proto/babel/packets.c
593 593
    if (tlv->omitted && !state->def_ip4_prefix_seen)
594 594
      return PARSE_ERROR;
595 595

  
596
    /* Need next hop for v4 routes */
597
    if (ipa_zero(state->next_hop_ip4))
596
    /* Update must have next hop, unless it is retraction */
597
    if (ipa_zero(state->next_hop_ip4) && (msg->metric != BABEL_INFINITY))
598 598
      return PARSE_ERROR;
599 599

  
600 600
    /* Merge saved prefix and received prefix parts */

Also available in: Unified diff