summaryrefslogtreecommitdiffstats
path: root/lib/filter.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-02-13 14:21:26 +0100
committerDonatas Abraitis <donatas.abraitis@gmail.com>2020-02-13 14:39:54 +0100
commit752022670a294584ce45161a182f5b5790da45b9 (patch)
treed8bf19c32a08a1dd4ba2799ed2fee8450fe735e1 /lib/filter.c
parentMerge pull request #5798 from donaldsharp/bgp_packet_reformat (diff)
downloadfrr-752022670a294584ce45161a182f5b5790da45b9.tar.xz
frr-752022670a294584ce45161a182f5b5790da45b9.zip
*: Remove break after return
Just a deadcode. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'lib/filter.c')
-rw-r--r--lib/filter.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/filter.c b/lib/filter.c
index 911a8e53d..80f8cf0bd 100644
--- a/lib/filter.c
+++ b/lib/filter.c
@@ -145,16 +145,12 @@ static const char *filter_type_str(struct filter *filter)
switch (filter->type) {
case FILTER_PERMIT:
return "permit";
- break;
case FILTER_DENY:
return "deny";
- break;
case FILTER_DYNAMIC:
return "dynamic";
- break;
default:
return "";
- break;
}
}