diff --git a/sim_ether.c b/sim_ether.c index ebcaa0bb..e428360c 100644 --- a/sim_ether.c +++ b/sim_ether.c @@ -1057,13 +1057,13 @@ int pcap_get_selectable_fd(pcap_t* a) { } } -int pcap_fileno(pcap_t * a) { +int pcap_fileno(pcap_t * a) { if (load_pcap() != 0) { return p_pcap_fileno(a); } else { return 0; } -} +} #endif int pcap_sendpacket(pcap_t* a, const u_char* b, int c) {