Revision 05476c4d proto/ospf/packet.c

View differences:

proto/ospf/packet.c
308 308
    return 1;
309 309
  }
310 310

  
311
  if (ifa->check_ttl && (sk->ttl < 255))
311
  if (ifa->check_ttl && (sk->rcv_ttl < 255))
312 312
  {
313
    log(L_ERR "%s%I - TTL %d (< 255)", mesg, sk->faddr, sk->ttl);
313
    log(L_ERR "%s%I - TTL %d (< 255)", mesg, sk->faddr, sk->rcv_ttl);
314 314
    return 1;
315 315
  }
316 316

  

Also available in: Unified diff