summaryrefslogtreecommitdiff
path: root/lib/qobj.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-29 14:47:35 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-08-29 15:08:13 -0400
commit6a74c5f9db107b7c71705a691b82830a658a91fb (patch)
tree390f681cc05e872667e33f3d5247d59f56725b75 /lib/qobj.c
parent458d8cd2571d9b37d162e327128d71b148bd5438 (diff)
lib, ospfd, ripd, ripngd: Fix 'set metric'
There are a variety of cli's associated with the 'set metric ...' command. The problem that we are experiencing is that not all the daemons support all the varieties of the set metric and the returned of NULL during the XXX_compile phase for these unsupported commands is causing issues. Modify the code base to only return NULL if we encounter a true parsing issue. Else we need to keep track if this metric applies to us or not. In the case of rip or ripngd if the metric passed to us is greater than 16 just turn it internally into a MAX_METRIC. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/qobj.c')
0 files changed, 0 insertions, 0 deletions