Revision b5e76398 proto/ospf/packet.c

View differences:

proto/ospf/packet.c
231 231
  const char *err_dsc = NULL;
232 232
  uint err_val = 0;
233 233

  
234
  /* Should not happen */
235
  if (ifa->state <= OSPF_IS_LOOP)
236
    return 1;
237

  
234 238
  int src_local, dst_local, dst_mcast;
235 239
  src_local = ipa_in_net(sk->faddr, ifa->addr->prefix, ifa->addr->pxlen);
236 240
  dst_local = ipa_equal(sk->laddr, ifa->addr->ip);

Also available in: Unified diff