summaryrefslogtreecommitdiffstats
path: root/net/8021q/vlanproc.c
diff options
context:
space:
mode:
authorJoonwoo Park <joonwpark81@gmail.com>2008-07-08 12:22:16 +0200
committerDavid S. Miller <davem@davemloft.net>2008-07-08 12:22:16 +0200
commit26a25239d7a660cc7162e2463b48b40d544364d0 (patch)
tree1448f1721042dbbac1ff2f1fd4ba2bcb965f96ee /net/8021q/vlanproc.c
parentvlan: fix network_header/mac_header adjustments (diff)
downloadlinux-26a25239d7a660cc7162e2463b48b40d544364d0.tar.xz
linux-26a25239d7a660cc7162e2463b48b40d544364d0.zip
vlan: Use is_vlan_dev()
Use simplified is_vlan_dev function. Signed-off-by: Joonwoo Park <joonwpark81@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/8021q/vlanproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/8021q/vlanproc.c b/net/8021q/vlanproc.c
index 08b54b593d56..6073a888b6f9 100644
--- a/net/8021q/vlanproc.c
+++ b/net/8021q/vlanproc.c
@@ -290,7 +290,7 @@ static int vlandev_seq_show(struct seq_file *seq, void *offset)
static const char fmt[] = "%30s %12lu\n";
int i;
- if (!(vlandev->priv_flags & IFF_802_1Q_VLAN))
+ if (!is_vlan_dev(vlandev))
return 0;
seq_printf(seq,