Add unit tests for policies_parse_exit_policy_reject_private
commite726ad466445e600b006295a8d2315643d1680da
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>
Mon, 16 Nov 2015 04:36:28 +0000 (16 15:36 +1100)
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>
Thu, 19 Nov 2015 23:32:51 +0000 (20 10:32 +1100)
tree05ae927835b7b6ecd412e18a93e0e2095afc3667
parentc73c5a293f645c9d5a15b3f17946e4d44245a58e
Add unit tests for policies_parse_exit_policy_reject_private

Test that policies_parse_exit_policy_reject_private rejects supplied
IPv4 and IPv6 relay addresses, and the addresses of local interfaces.
src/test/test_policy.c