summaryrefslogtreecommitdiffstats
path: root/tests/vty/ok_empty_parent.cfg
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-06-11 21:19:46 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-06-11 21:50:17 +0200
commit6df2e44404bd710b13539a09450117f755498c65 (patch)
treece834c83724b02d764e84b9a6886d6f10e7abdbc /tests/vty/ok_empty_parent.cfg
parent4742526645d6137dd90ef369f0415afdb91736dc (diff)
vty: command.c: Fix is_cmd_ambiguous() returning always 0
inner block defined variable "enum match_type ret" was being masking outter block variable "int ret = 0". The ret variable was being given non zero values only inside the inner block, so that change was done on the inner variable and not the outer one, which is returned. Fixes: 5314c513f23688462d7f7937e5ae5e0d5cd4548e Change-Id: Iec87d7db49a096d07e38ff8a060b923a52bfd6ba
Diffstat (limited to 'tests/vty/ok_empty_parent.cfg')
0 files changed, 0 insertions, 0 deletions