diff options
Diffstat (limited to 'net/8021q/vlanproc.c')
-rw-r--r-- | net/8021q/vlanproc.c | 2 |
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) | |||
290 | static const char fmt[] = "%30s %12lu\n"; | 290 | static const char fmt[] = "%30s %12lu\n"; |
291 | int i; | 291 | int i; |
292 | 292 | ||
293 | if (!(vlandev->priv_flags & IFF_802_1Q_VLAN)) | 293 | if (!is_vlan_dev(vlandev)) |
294 | return 0; | 294 | return 0; |
295 | 295 | ||
296 | seq_printf(seq, | 296 | seq_printf(seq, |