diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-03-11 18:07:24 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-03-11 18:07:24 +0100 |
commit | e7b76b976084006e430543f4b872f624326dbfe6 (patch) | |
tree | f215cce7aaeddfdb03164b67381d5eddb889d03f /proto/ospf/iface.c | |
parent | 353729f513aa6a1f9e7f66083a0f9d2117fe2be5 (diff) |
Temoporary OSPF commit - socket changes.
Diffstat (limited to 'proto/ospf/iface.c')
-rw-r--r-- | proto/ospf/iface.c | 5 |
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 { |