summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-07-07 11:18:17 +0200
committerArne Schwabe <arne@rfc2549.org>2014-07-07 11:18:17 +0200
commit35ddabe208a27db9cf0a548c3e00b47e6facf27a (patch)
tree6616faa269777348807309ba4623774d9fc9245a
parent7efb77686920c025bdc961284c88e3867aa9d74c (diff)
Fix network-change wanting a parameter
-rw-r--r--main/openvpn/src/openvpn/manage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/openvpn/src/openvpn/manage.c b/main/openvpn/src/openvpn/manage.c
index 386718d4..9913197b 100644
--- a/main/openvpn/src/openvpn/manage.c
+++ b/main/openvpn/src/openvpn/manage.c
@@ -1166,8 +1166,7 @@ man_dispatch_command (struct management *man, struct status_output *so, const ch
#ifdef TARGET_ANDROID
else if (streq (p[0], "network-change"))
{
- if (man_need (man, p, 1, 0))
- man_network_change(man);
+ man_network_change(man);
}
#endif
else if (streq (p[0], "load-stats"))