summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-04-23 21:36:12 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-04-26 23:16:51 +0300
commitd09328e5991c9f657758921264492825e7081175 (patch)
treea6e8d28f605cbc32ed750832d932dc1c19e440eb /lib/command.c
parent9a92b4e75d87a5c838c2cb89b5bc8ce676cac671 (diff)
bgpd: fix bgp_get_vty return values
There are multiple problems: - commit ef7c53e2 introduced a new return value 2 which broke things, because a lot of code treats non-zero return as an error, - there is an incorrect error returned when AS number mismatches. This commit fixes both. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions