mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 23:37:13 +00:00
Fixed line endings to be consistent in dynamically loaded pcap_fileno implementation
This commit is contained in:
parent
cc890aec1c
commit
d9f3b66bbf
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user