Add an option to set source address for a BGP session.
When adding a BGP neighbour, one can set "update-source" (quagga syntax) to the source IP address that will be used for that session. Signed-off-by: Benjamin Cama <benoar@dolka.fr>
This commit is contained in:
parent
11ec3c4a24
commit
b36141c0c7
5 changed files with 51 additions and 3 deletions
1
l2tpns.h
1
l2tpns.h
|
|
@ -723,6 +723,7 @@ typedef struct
|
|||
uint16_t as;
|
||||
int keepalive;
|
||||
int hold;
|
||||
struct in_addr update_source;
|
||||
} neighbour[BGP_NUM_PEERS];
|
||||
#endif
|
||||
} configt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue