summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2015-02-22 20:14:14 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2015-02-22 20:14:14 +0100
commit9c89560e6cdf44a21b2eff8765973ed8665fa07f (patch)
treeef22b54c7c05b5c44776bab239d19bf60a1d9265 /proto
parent6cf72d7ad7cbe1eb2f5b63660be6967d29b37044 (diff)
Use IP_PORTRANGE_HIGH for BFD where available
Diffstat (limited to 'proto')
-rw-r--r--proto/bfd/packets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bfd/packets.c b/proto/bfd/packets.c
index 8818453b..b5fd6782 100644
--- a/proto/bfd/packets.c
+++ b/proto/bfd/packets.c
@@ -231,7 +231,7 @@ bfd_open_tx_sk(struct bfd_proto *p, ip_addr local, struct iface *ifa)
sk->tos = IP_PREC_INTERNET_CONTROL;
sk->priority = sk_priority_control;
sk->ttl = ifa ? 255 : -1;
- sk->flags = SKF_THREAD | SKF_BIND;
+ sk->flags = SKF_THREAD | SKF_BIND | SKF_HIGH_PORT;
#ifdef IPV6
sk->flags |= SKF_V6ONLY;