mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 11:30:30 +00:00
pathd: fix space before pcep port in running-config
The below running-configuration has extra spaces before the pce
port configuration:
> segment-routing
> traffic-engineering
> pce test
> address ip 192.0.2.2 port 1234
>
Fix this by keeping only one space.
> address ip 192.0.2.2 port 1234
Fixes: efba0985fc
("pathd: Add optional support for PCEP to pathd")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
77ff93b8f5
commit
4730aeb5e5
@ -1706,7 +1706,7 @@ int pcep_cli_pce_config_write(struct vty *vty)
|
||||
&pce_opts->addr.ipaddr_v4);
|
||||
}
|
||||
if (pce_opts->port != PCEP_DEFAULT_PORT) {
|
||||
vty_out(vty, " %s %d", PCEP_VTYSH_ARG_PORT,
|
||||
vty_out(vty, " %s %d", PCEP_VTYSH_ARG_PORT,
|
||||
pce_opts->port);
|
||||
}
|
||||
vty_out(vty, "%s\n", buf);
|
||||
|
Loading…
Reference in New Issue
Block a user