Commit 2f9955b5 authored by Ondřej Zajíček's avatar Ondřej Zajíček

Fixes TTL for multicast OSPF packets.

Thanks Alexander V. Chernikov for the suggestion.
parent 8796a8a5
......@@ -120,6 +120,8 @@ ospf_sk_open(struct ospf_iface *ifa)
sk->saddr = ifa->addr->ip;
if ((ifa->type == OSPF_IT_BCAST) || (ifa->type == OSPF_IT_PTP))
sk->ttl = 1; /* Hack, this will affect just multicast packets */
if (sk_setup_multicast(sk) < 0)
goto err;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment