fixing logic in the IPv6 forwarding setting check

From akarl10 on GitHub:

	(value != 1 || value != 2) is always true
	should be (value != 1 && value != 2)