diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2023-11-09 14:34:52 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2023-11-21 18:02:10 +0100 |
| commit | 4730aeb5e55476ff4f5295f440ec08988f5db977 (patch) | |
| tree | c977afc72bf82bb12580a619d0d1512fe1b49a35 /pathd | |
| parent | 77ff93b8f5f714880dfe56ff01a57870fd2ed8b6 (diff) | |
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: efba0985fcdd ("pathd: Add optional support for PCEP to pathd")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'pathd')
| -rw-r--r-- | pathd/path_pcep_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathd/path_pcep_cli.c b/pathd/path_pcep_cli.c index ab61abc02d..298dd74d23 100644 --- a/pathd/path_pcep_cli.c +++ b/pathd/path_pcep_cli.c @@ -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); |
