Skip to content

Commit

Permalink
ffmuc-ipv6-ra-filter: make filter less verbose
Browse files Browse the repository at this point in the history
The "ebtables-tiny -L" is called regularly and the output is printed as
log messages of micron.d causing unnecessary log spam.
  • Loading branch information
grische committed Nov 17, 2023
1 parent 394a373 commit 16ec807
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
set -e

# Check if we need to initialise the ra-filter chain
if ! ebtables-tiny -L IPV6_RA_FILTER; then
if ! ebtables-tiny -L IPV6_RA_FILTER > /dev/null; then
logger -t ipv6_ra_filter "ebtables chain IPV6_RA_FILTER does not exist"
ebtables-tiny -N IPV6_RA_FILTER
ebtables-tiny -P IPV6_RA_FILTER DROP
Expand Down

0 comments on commit 16ec807

Please sign in to comment.