summaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
authorDavid S. Miller2013-01-29 21:59:45 +0100
committerDavid S. Miller2013-01-29 21:59:45 +0100
commitb53c47dd4fdb3f062c07b1ba8a7f9f80237be182 (patch)
treef34f3c260c2f089f0ed89faeddba43771fd21694 /net/batman-adv
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
parentbatman-adv: fix local translation table output (diff)
downloadkernel-qcow2-linux-b53c47dd4fdb3f062c07b1ba8a7f9f80237be182.tar.gz
kernel-qcow2-linux-b53c47dd4fdb3f062c07b1ba8a7f9f80237be182.tar.xz
kernel-qcow2-linux-b53c47dd4fdb3f062c07b1ba8a7f9f80237be182.zip
Merge tag 'batman-adv-for-davem' of git://git.open-mesh.org/linux-merge
Included changes: - fix recently introduced output behaviour Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv')
-rw-r--r--net/batman-adv/translation-table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c
index fb15b4c076f7..d44672f4a349 100644
--- a/net/batman-adv/translation-table.c
+++ b/net/batman-adv/translation-table.c
@@ -517,8 +517,8 @@ int batadv_tt_local_seq_print_text(struct seq_file *seq, void *offset)
BATADV_TT_CLIENT_PENDING ? 'X' : '.'),
(tt_common_entry->flags &
BATADV_TT_CLIENT_WIFI ? 'W' : '.'),
- no_purge ? last_seen_secs : 0,
- no_purge ? last_seen_msecs : 0);
+ no_purge ? 0 : last_seen_secs,
+ no_purge ? 0 : last_seen_msecs);
}
rcu_read_unlock();
}