summaryrefslogtreecommitdiff
path: root/lib/netdev-linux.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-08-30 00:24:53 -0700
committerJesse Gross <jesse@nicira.com>2010-08-30 13:23:08 -0700
commitd295e8e97acae13552a5b220d3fbcff8201064a2 (patch)
treeeb90646c3c927a62fd2f520eb5fcd602297b1a79 /lib/netdev-linux.c
parent90a249dc93ccabd398b64092121b07e5af2d8c2d (diff)
downloadopenvswitch-d295e8e97acae13552a5b220d3fbcff8201064a2.tar.gz
treewide: Remove trailing whitespace
Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Simon Horman <horms@verge.net.au> Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'lib/netdev-linux.c')
-rw-r--r--lib/netdev-linux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c
index f7d9cd3bf..e6036bfc5 100644
--- a/lib/netdev-linux.c
+++ b/lib/netdev-linux.c
@@ -1008,7 +1008,7 @@ netdev_linux_update_is_pseudo(struct netdev_dev_linux *netdev_dev)
if (!(netdev_dev->cache_valid & VALID_IS_PSEUDO)) {
const char *name = netdev_dev_get_name(&netdev_dev->netdev_dev);
const char *type = netdev_dev_get_type(&netdev_dev->netdev_dev);
-
+
netdev_dev->is_tap = !strcmp(type, "tap");
netdev_dev->is_internal = false;
if (!netdev_dev->is_tap) {
@@ -1872,7 +1872,7 @@ netdev_linux_get_next_hop(const struct in_addr *host, struct in_addr *next_hop,
iface, &dest, &gateway, &flags, &refcnt,
&use, &metric, &mask, &mtu, &window, &irtt) != 11) {
- VLOG_WARN_RL(&rl, "%s: could not parse line %d: %s",
+ VLOG_WARN_RL(&rl, "%s: could not parse line %d: %s",
fn, ln, line);
continue;
}
@@ -1882,7 +1882,7 @@ netdev_linux_get_next_hop(const struct in_addr *host, struct in_addr *next_hop,
}
/* The output of 'dest', 'mask', and 'gateway' were given in
- * network byte order, so we don't need need any endian
+ * network byte order, so we don't need need any endian
* conversions here. */
if ((dest & mask) == (host->s_addr & mask)) {
if (!gateway) {