diff --git a/main.cpp b/main.cpp index b2c86cb..289f0c7 100755 --- a/main.cpp +++ b/main.cpp @@ -820,6 +820,10 @@ int client_event_loop() strcpy(dev,d->name); } } + else + { + log_bare(log_debug," [unknow:%d]",int(a->addr->sa_family)); + } } if(cnt==0) log_bare(log_info," [no ip found]"); if(d->description==0) diff --git a/network.cpp b/network.cpp index df55e89..7d89932 100644 --- a/network.cpp +++ b/network.cpp @@ -484,7 +484,7 @@ void init_filter(int port) } else if(raw_mode==mode_udp) { - sprintf(filter_exp,"udp and src %s and src port %d abd dst port %d",remote_ip,remote_port,port); + sprintf(filter_exp,"udp and src %s and src port %d and dst port %d",remote_ip,remote_port,port); } else if(raw_mode==mode_icmp) {