mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
Fixes name for unnamed filters.
Thanks to Alexander V. Chernikov for the suggestion.
This commit is contained in:
parent
7d837aa014
commit
8796a8a56e
@ -61,6 +61,8 @@ filter_name(struct filter *filter)
|
||||
return "ACCEPT";
|
||||
else if (filter == FILTER_REJECT)
|
||||
return "REJECT";
|
||||
else if (!filter->name)
|
||||
return "(unnamed)";
|
||||
else
|
||||
return filter->name;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user