aboutsummaryrefslogtreecommitdiff
path: root/pcap-snf.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-12-13 15:40:40 -0800
committerGuy Harris <guy@alum.mit.edu>2016-12-13 15:40:40 -0800
commit773408fc8001395b3418306deca381b11a039492 (patch)
treece083bb82b278ffd925e7c2b749c02ca9a645e42 /pcap-snf.c
parent7bc84bcb73b77a0293ec5dc39942d36ade803a08 (diff)
Get rid of trailing white space.
Diffstat (limited to 'pcap-snf.c')
-rw-r--r--pcap-snf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pcap-snf.c b/pcap-snf.c
index 5fbf9fef..3fc6a84c 100644
--- a/pcap-snf.c
+++ b/pcap-snf.c
@@ -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) {