diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2022-11-18 16:02:55 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2023-02-10 10:27:23 +0100 |
| commit | de76ed8a0e4c26b21267556a41bbb056791c1c5c (patch) | |
| tree | a0b69dac15204e32983e8dbfadd7d15ffaed2218 /bgpd/bgp_network.c | |
| parent | e84c7c12f224f27ae430f2929a9fd121b133c2b3 (diff) | |
bgpd: store the neighbor as identifier as a string
This identifier is used to display the peer configuration in
the running-config, like it has been configured.
The following commands are using a specific string attribute:
- neighbor .. remote-as ASN
- neighbor .. local-as ASN
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_network.c')
| -rw-r--r-- | bgpd/bgp_network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_network.c b/bgpd/bgp_network.c index 7186a50711..cc832bd5fe 100644 --- a/bgpd/bgp_network.c +++ b/bgpd/bgp_network.c @@ -553,7 +553,7 @@ static void bgp_accept(struct thread *thread) peer1->host); peer = peer_create(&su, peer1->conf_if, peer1->bgp, peer1->local_as, - peer1->as, peer1->as_type, NULL, false); + peer1->as, peer1->as_type, NULL, false, NULL); peer_xfer_config(peer, peer1); bgp_peer_gr_flags_update(peer); |
