@@ -1505,7 +1505,7 @@ pcap_freealldevs(pcap_if_t *alldevs)
15051505 * In all other cases, we just use pcap_findalldevs() to get a list of
15061506 * devices, and pick from that list.
15071507 */
1508- #if !defined(HAVE_PACKET32 )
1508+ #if !defined(HAVE_PACKET32 )
15091509/*
15101510 * Return the name of a network interface attached to the system, or NULL
15111511 * if none can be found. The interface must be configured up; the
@@ -1578,7 +1578,7 @@ pcap_lookupdev(char *errbuf)
15781578}
15791579#endif /* !defined(HAVE_PACKET32) */
15801580
1581- #if !defined(_WIN32 )
1581+ #if !defined(_WIN32 )
15821582/*
15831583 * We don't just fetch the entire list of devices, search for the
15841584 * particular device, and use its first IPv4 address, as that's too
@@ -3554,7 +3554,7 @@ pcap_fileno(pcap_t *p)
35543554}
35553555#endif /* _WIN32 */
35563556
3557- #if !defined(_WIN32 )
3557+ #if !defined(_WIN32 )
35583558int
35593559pcap_get_selectable_fd (pcap_t * p )
35603560{
@@ -3605,7 +3605,7 @@ pcap_getnonblock(pcap_t *p, char *errbuf)
36053605 * Get the current non-blocking mode setting, under the assumption that
36063606 * it's just the standard POSIX non-blocking flag.
36073607 */
3608- #if !defined(_WIN32 )
3608+ #if !defined(_WIN32 )
36093609int
36103610pcap_getnonblock_fd (pcap_t * p )
36113611{
@@ -3645,7 +3645,7 @@ pcap_setnonblock(pcap_t *p, int nonblock, char *errbuf)
36453645 return (ret );
36463646}
36473647
3648- #if !defined(_WIN32 )
3648+ #if !defined(_WIN32 )
36493649/*
36503650 * Set non-blocking mode, under the assumption that it's just the
36513651 * standard POSIX non-blocking flag. (This can be called by the
@@ -4083,7 +4083,7 @@ pcap_cleanup_live_common(pcap_t *p)
40834083 p -> tstamp_precision_count = 0 ;
40844084 }
40854085 pcap_freecode (& p -> fcode );
4086- #if !defined(_WIN32 )
4086+ #if !defined(_WIN32 )
40874087 if (p -> fd >= 0 ) {
40884088 close (p -> fd );
40894089 p -> fd = -1 ;
0 commit comments