summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-04-04 12:40:33 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-04-04 12:40:33 -0400
commit77c489986edeaa107c1b201d879bf599fd7be2f6 (patch)
tree4b9e0536988eb3897fab17d19b44e76bfe7adc88 /lib/if.c
parent81515efc8d03d94b25ef7fa3381195c2881ca87f (diff)
lib: plist should not CMD_WARNING when command has already been entered
When you startup zebra and apply a prefix list command, and then at a later point in time start up additional daemons and then attempt to apply the integrated-config, the prefix-list command will stop processing after zebra. This is because when zebra attempted to process the command, it would notice that it already had that cli handled and print a vty warning and then it would return CMD_WARNING. This caused the loop over all the commands to stop and as such the command would not be sent to all the individual daemons. This behavior is exactly the same as it is in the 2.5.X( hell it's upstream behavior to! ). Modify the plist command to return CMD_SUCCESS in this case. Ticket: CM-10248 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'lib/if.c')
0 files changed, 0 insertions, 0 deletions