diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2014-10-02 11:33:55 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2014-10-02 12:52:50 +0200 |
commit | dcde7ae597ccb7d81648b9ecab7c0f61c88e60f2 (patch) | |
tree | 673dd152c3e3758ae1a41e89324f8b3334e21bf7 /proto/bgp/bgp.h | |
parent | 252c7e4d0b7b45c89f69b3c4763b0c013aa5830d (diff) |
Allows to configure different remote port for BGP sessions.
Thanks to João Taveira Araújo for the original patch.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r-- | proto/bgp/bgp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h index da0114c2..0fd3a73c 100644 --- a/proto/bgp/bgp.h +++ b/proto/bgp/bgp.h @@ -23,6 +23,7 @@ struct bgp_config { ip_addr remote_ip; ip_addr source_addr; /* Source address to use */ struct iface *iface; /* Interface for link-local addresses */ + u16 remote_port; /* Neighbor destination port */ int multihop; /* Number of hops if multihop */ int ttl_security; /* Enable TTL security [RFC5082] */ int next_hop_self; /* Always set next hop to local IP address */ |