diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-12-13 15:40:40 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-12-13 15:40:40 -0800 |
commit | 773408fc8001395b3418306deca381b11a039492 (patch) | |
tree | ce083bb82b278ffd925e7c2b749c02ca9a645e42 /pcap-snf.c | |
parent | 7bc84bcb73b77a0293ec5dc39942d36ade803a08 (diff) |
Get rid of trailing white space.
Diffstat (limited to 'pcap-snf.c')
-rw-r--r-- | pcap-snf.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -362,7 +362,7 @@ snf_findalldevs(pcap_if_t **devlistp, char *errbuf) (void)pcap_snprintf(desc,MAX_DESC_LENGTH,"Myricom %ssnf%d", merge ? "Merge Bitmask Port " : "", merge ? 1 << ifa->snf_ifa_portnum : ifa->snf_ifa_portnum); - if (merge) + if (merge) allports |= 1 << ifa->snf_ifa_portnum; nextdev->description = strdup(desc); if (nextdev->description == NULL) { @@ -403,7 +403,7 @@ snf_findalldevs(pcap_if_t **devlistp, char *errbuf) (void)pcap_snprintf(desc,MAX_DESC_LENGTH,"Myricom %ssnf%d", merge ? "Merge Bitmask Port " : "", merge ? 1 << ifa->snf_ifa_portnum : ifa->snf_ifa_portnum); - if (merge) + if (merge) allports |= 1 << ifa->snf_ifa_portnum; curdev->description = strdup(desc); if (curdev->description == NULL) { @@ -420,13 +420,13 @@ snf_findalldevs(pcap_if_t **devlistp, char *errbuf) * XXX - are there any actual IP addresses for * these devices? */ - + prevdev = curdev; } // end of if entry !found ifa = ifa->snf_ifa_next; } snf_freeifaddrs(ifaddrs); - /* + /* * Create a snfX entry if port aggregation is enabled */ if (merge) { |