return in functions

This commit is contained in:
PolynomialDivision 2017-12-13 11:12:26 +01:00
parent 732bbb84b1
commit 4319a89c0f

View file

@ -481,13 +481,16 @@ int handle_network_msg(char* msg)
}
if (strncmp(method, "probe", 5) == 0) {
printf("METHOD PROBE\n");
probe_entry entry;
parse_to_probe_req(data_buf.head, &entry);
probe_array_insert(entry);
} else if (strncmp(method, "clients", 5) == 0) {
printf("METHOD CLIENTS\n");
printf("PARSING CLIENTS NETWORK MSG!\n");
parse_to_clients(data_buf.head, 0, 0);
} else if (strncmp(method, "deauth", 5) == 0) {
printf("METHOD DEAUTH\n");
hostapd_notify_entry entry;
parse_to_hostapd_notify(data_buf.head, &entry);