diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-12-11 08:48:59 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-12-11 12:39:16 -0500 |
| commit | 02d3243970db013f51a95f93de986f338329f2ac (patch) | |
| tree | b7ff14870f5591d5938d215a9fe463087f97a70f /tests/lib/test_ringbuf.py | |
| parent | ff6566f3efaad50d09f0327953b57f75dc607de0 (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
