diff --git a/html/cgi-bin/xdpdns.cgi b/html/cgi-bin/xdpdns.cgi index c9517ee11..350461f6e 100644 --- a/html/cgi-bin/xdpdns.cgi +++ b/html/cgi-bin/xdpdns.cgi @@ -184,7 +184,7 @@ my $sactive = "> /dev/null + if [ $? -eq 0 ]; then + echo "xdp_dns_denylist is attached to green0" + else + echo "xdp_dns_denylist is not attached to green0" + fi +} + case "$1" in start) @@ -74,7 +83,7 @@ case "$1" in ;; status) - statusproc /usr/sbin/xdp_dns_log + is_xdpdns_attached ;; restart)