[PATCH 2/3] * Fix BGP filters naming
27 Nov
2011
27 Nov
'11
7:09 a.m.
--- filter/f-util.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/filter/f-util.c b/filter/f-util.c index 9f2eb6b..eef09da 100644 --- a/filter/f-util.c +++ b/filter/f-util.c @@ -61,6 +61,6 @@ filter_name(struct filter *filter) return "ACCEPT"; else if (filter == FILTER_REJECT) return "REJECT"; - else - return filter->name; + + return (filter->name ? filter->name : "UNNAMED"); } -- 1.7.3.2 --------------090506030508010702020103 Content-Type: text/plain; name="yandex-Implement-per-table-protocol-hooks-in-core.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename*0="yandex-Implement-per-table-protocol-hooks-in-core.patch"
5312
Age (days ago)
5312
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexander V. Chernikov