On Thu, Aug 22, 2013 at 03:52:36PM +0800, Marek Lindner wrote:
On Thursday, August 22, 2013 15:21:11 Antonio Quartulli wrote:
@@ -761,8 +761,8 @@ int batadv_dat_cache_seq_print_text(struct seq_file *seq, void *offset) goto out;
seq_printf(seq, "Distributed ARP Table (%s):\n", net_dev->name);
seq_printf(seq, " %-7s %-13s %5s\n", "IPv4",
"MAC", - "last-seen");
seq_printf(seq, " %-7s %-9s %4s %11s\n", "IPv4",
"MAC", "VID", "last-seen");
Why are you shortening the MAC address length while you try to add the vid ?
This is only to arrange the header line. If you test the code, you will see it looks good this way :) I also added some more space at the last-seen text to space it correctly.
Cheers,