)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"c560075dd39d0c2f51215837f895b2fca9286224","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"e5df0015_c600c4f5","updated":"2024-09-11 15:53:25.000000000","message":"Code change makes sense to me, but I haven\u0027 tested it. Is there an easy test case to verify the fix?","commit_id":"cee1303c6e0a7a11a6563541397cfb5dfabceec2"},{"author":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},"change_message_id":"ff1624dc79fdd8b13f5edd8c00e84113231b01f0","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"4b1e941a_e75dbe17","in_reply_to":"e5df0015_c600c4f5","updated":"2024-09-11 16:53:26.000000000","message":"If you simply want to evaluate if the order is coherent between the arguments you can enable the debugging code at the beginning of check_addr_clash().\n\nTo actually trigger the tun warning I created a tuntap interface (tun0) and set the ip address to 10.10.20.1/24. Then I executed:\nopenvpn --ifconfig 10.10.20.10 255.255.255.0  --local 10.10.20.1 --dev tun0 --topology subnet ...\n\nThe tap warning can be triggered by executing:\nopenvpn --ifconfig 10.10.20.10 255.255.255.0 --local 10.10.20.1 --dev tap ...\n\nNevertheless I could not find a way to trigger the first warning in check_addr_clash() (line 564) because I think a previous check already ensures that --local or --remote addresses are not the same as the --ifconfig addresses (but I\u0027m not entirely sure if this is always the case).","commit_id":"cee1303c6e0a7a11a6563541397cfb5dfabceec2"}]}
