]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
IPv6: Return errors from ip6_forwarding
authorRoy Marples <roy@marples.name>
Wed, 4 Sep 2024 11:18:10 +0000 (12:18 +0100)
committerRoy Marples <roy@marples.name>
Wed, 4 Sep 2024 11:18:10 +0000 (12:18 +0100)
commit82e16d16bf2372cd20c55bd07fea5f1bb405a936
tree7005b7e8f4ae7bd9d5ba9ee018a13a3b798025a6
parent64627345a9ab4209ef07cb69ba81432b00b80e6c
IPv6: Return errors from ip6_forwarding

On all OS 0 is disabled and >0 is enabled.
So return -1 on any error which is returned to the main process so
we could log a diagnostic in the future.

While where allow privsep to actually get the sysctl for Capsicum.
src/if-bsd.c
src/if-linux.c
src/ipv6.c
src/ipv6nd.c
src/privsep-root.c