In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/ipfilter line 3:
. /lib/rcscripts/sh/error.sh
  ^------------------------^ SC1091 (info): Not following: /lib/rcscripts/sh/error.sh was not specified as input (see shellcheck -x).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/ipfilter line 4:
. /etc/netd/ipfilter.conf || error "Failed to source config file"
  ^---------------------^ SC1091 (info): Not following: /etc/netd/ipfilter.conf was not specified as input (see shellcheck -x).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/ipfilter line 16:
	:
        ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/ipfilter line 26:
	error "Failed to $@"
                         ^-- SC2145 (error): Argument mixes string and array. Use * or separate argument.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/ipfilter line 35:
	$IPTABLES -P INPUT $1 || fail "set $1 policy!"
                           ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	$IPTABLES -P INPUT "$1" || fail "set $1 policy!"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/ipfilter line 36:
	$IP6TABLES -P INPUT $1 || fail "set $1 policy!"
                            ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	$IP6TABLES -P INPUT "$1" || fail "set $1 policy!"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/ipfilter line 40:
	local family
        ^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/ipfilter line 45:
		*[!.:[:xdigit:][:blank:]\/,]*)
                                        ^-- SC1001 (info): This \/ will be a regular '/' in this context.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/ipfilter line 52:
			family=4
                        ^----^ SC2034 (warning): family appears unused. Verify use (or export if used externally).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/ipfilter line 58:
	eval $2=\$family || error "Failed to evaluate IP address family"
             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	eval "$2"=\$family || error "Failed to evaluate IP address family"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/ipfilter line 62:
	local added_iptables=0 added_ip6tables=0 af=0
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.

For more information:
  https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ...
  https://www.shellcheck.net/wiki/SC2034 -- family appears unused. Verify use...
  https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.