Skip to content

Commit

Permalink
Update datalink.cpp (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
simsong committed Mar 12, 2021
1 parent f909240 commit a069750
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/datalink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,7 @@ void dl_ethernet(u_char *user, const struct pcap_pkthdr *h, const u_char *p)
break;
}
} catch( std::logic_error e){
std::string s(std::string("warning: caught std::logic_error ")
+ e.what()
+ std::string(" in packet"));
DEBUG(6)(s.c_str());
DEBUG(6)("Warning: caught std::logic_error %s in packet",e.what());
}
}

Expand Down

0 comments on commit a069750

Please sign in to comment.