summaryrefslogtreecommitdiff
path: root/tests/lib/test_ringbuf.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-12-11 08:48:59 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-12-11 12:39:16 -0500
commit02d3243970db013f51a95f93de986f338329f2ac (patch)
treeb7ff14870f5591d5938d215a9fe463087f97a70f /tests/lib/test_ringbuf.py
parentff6566f3efaad50d09f0327953b57f75dc607de0 (diff)
bgpd: Modify prefix_rd2str to return "Unknown" when unknown
Make prefix_rd2str return an "Unknown" string when something goes wrong. This will allow for simplification of the code that uses prefix_rd2str. Additionally ensure that size is big enough with an assert. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'tests/lib/test_ringbuf.py')
0 files changed, 0 insertions, 0 deletions