summaryrefslogtreecommitdiff
path: root/proto/ospf/iface.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-03-11 18:07:24 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-03-11 18:07:24 +0100
commite7b76b976084006e430543f4b872f624326dbfe6 (patch)
treef215cce7aaeddfdb03164b67381d5eddb889d03f /proto/ospf/iface.c
parent353729f513aa6a1f9e7f66083a0f9d2117fe2be5 (diff)
Temoporary OSPF commit - socket changes.
Diffstat (limited to 'proto/ospf/iface.c')
-rw-r--r--proto/ospf/iface.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index 3f1e74dc..a99ceb12 100644
--- a/proto/ospf/iface.c
+++ b/proto/ospf/iface.c
@@ -82,9 +82,6 @@ ospf_sk_open(struct ospf_iface *ifa, int mc)
#endif
sk->tos = IP_PREC_INTERNET_CONTROL;
- sk->ttl = 1;
- if (ifa->type == OSPF_IT_VLINK)
- sk->ttl = 255;
sk->rx_hook = ospf_rx_hook;
sk->tx_hook = ospf_tx_hook;
sk->err_hook = ospf_err_hook;
@@ -191,10 +188,12 @@ ospf_iface_chstate(struct ospf_iface *ifa, u8 state)
OSPF_TRACE(D_EVENTS,
"Changing state of virtual link %R from \"%s\" into \"%s\".",
ifa->vid, ospf_is[oldstate], ospf_is[state]);
+ /*
if (state == OSPF_IS_PTP)
ospf_sk_open(ifa, 0);
if (state == OSPF_IS_DOWN)
ospf_sk_close(ifa);
+ */
}
else
{