]> git.puffer.fish Git - matthieu/frr.git/commit
pathd: fix space before pcep port in running-config
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 9 Nov 2023 13:34:52 +0000 (14:34 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 21 Nov 2023 17:02:10 +0000 (18:02 +0100)
commit4730aeb5e55476ff4f5295f440ec08988f5db977
treec977afc72bf82bb12580a619d0d1512fe1b49a35
parent77ff93b8f5f714880dfe56ff01a57870fd2ed8b6
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>
pathd/path_pcep_cli.c