summaryrefslogtreecommitdiff
path: root/doc/manpages/ospfclient.rst
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2018-10-19 15:55:47 -0300
committerRenato Westphal <renato@opensourcerouting.org>2018-10-20 12:39:05 -0300
commit98c06e8618fe7c73edddeaf6ac35186521e4604b (patch)
tree733399348619641790d9534b8d34328beaa98e17 /doc/manpages/ospfclient.rst
parent25ee05c93879487a9a6cd1d604b42ba2c71ee1f8 (diff)
ospfd: fix issue with the "no segment-routing prefix A.B.C.D/M" command
Add a missing check to bail out earlier when SR is not configured. The same command without the "no" prefix has the same check as it prevents unexpected things (i.e. crashes) from happening. Fixes the following segfaults: ospfd aborted: vtysh -c "configure terminal" -c "router ospf" -c "no segment-routing prefix 1.1.1.1/32" ospfd aborted: vtysh -c "configure terminal" -c "router ospf" -c "no segment-routing prefix 1.1.1.1/32 index 65535 no-php-flag" Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'doc/manpages/ospfclient.rst')
0 files changed, 0 insertions, 0 deletions