mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
remove prints
This commit is contained in:
parent
f837e2ee1d
commit
26da489b10
1 changed files with 0 additions and 8 deletions
|
@ -923,8 +923,6 @@ void del_client_interface(uint32_t id, const uint8_t *client_addr, uint32_t reas
|
|||
static void ubus_umdns_cb(struct ubus_request *req, int type, struct blob_attr *msg) {
|
||||
struct blob_attr *tb[__DAWN_UMDNS_TABLE_MAX];
|
||||
|
||||
printf("PARSING UMDNS!!!\n");
|
||||
|
||||
if (!msg)
|
||||
return;
|
||||
|
||||
|
@ -945,7 +943,6 @@ static void ubus_umdns_cb(struct ubus_request *req, int type, struct blob_attr *
|
|||
|
||||
struct blob_attr *tb_dawn[__DAWN_UMDNS_MAX];
|
||||
blobmsg_parse(dawn_umdns_policy, __DAWN_UMDNS_MAX, tb_dawn, blobmsg_data(attr), blobmsg_len(attr));
|
||||
//char* str = blobmsg_format_json_indent(attr, true, -1);
|
||||
|
||||
printf("Hostname: %s\n", hdr->name);
|
||||
if (tb_dawn[DAWN_UMDNS_IPV4] && tb_dawn[DAWN_UMDNS_PORT]) {
|
||||
|
@ -956,12 +953,7 @@ static void ubus_umdns_cb(struct ubus_request *req, int type, struct blob_attr *
|
|||
}
|
||||
|
||||
add_tcp_conncection(blobmsg_get_string(tb_dawn[DAWN_UMDNS_IPV4]), blobmsg_get_u32(tb_dawn[DAWN_UMDNS_PORT]));
|
||||
//dump_client(tb, tmp_mac, bssid_addr, freq, ht_supported, vht_supported);
|
||||
}
|
||||
|
||||
char *str = blobmsg_format_json(msg, true);
|
||||
printf("UMDNS:\n%s", str);
|
||||
print_tcp_array();
|
||||
}
|
||||
|
||||
int ubus_call_umdns() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue