wg-quick: android: change name of intent

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2018-06-04 02:49:20 +02:00
parent 2044bb026d
commit 8c4cf156d5
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ static void broadcast_change(void)
const char *pkg = getenv("CALLING_PACKAGE");
if (!pkg || strcmp(pkg, "com.wireguard.android"))
cmd("am broadcast -a com.wireguard.android.WGQUICK_CHANGE com.wireguard.android");
cmd("am broadcast -a com.wireguard.android.action.REFRESH_TUNNEL_STATES com.wireguard.android");
}
static void print_search_paths(FILE *file, const char *prefix)