]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commitdiff
Change where vlan option shows up in help
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Tue, 5 Feb 2008 19:33:44 +0000 (11:33 -0800)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Tue, 5 Feb 2008 19:33:44 +0000 (11:33 -0800)
Vlan should not be in the socket section

tc/em_meta.c

index bec9db03083ab0df1cb82254ae7dfdebb5c8d8c4..df39eb1bd51827374aaafc8855a796b5c02a0e04 100644 (file)
@@ -89,6 +89,7 @@ struct meta_entry {
                                "Routing ClassID (cls_route)"),
        __A(RTIIF,              "rt_iif",       "i",
                                "Incoming interface index"),
+       __A(VLAN_TAG,           "vlan",         "i",    "Vlan tag"),
 
        __A(SECTION,            "Sockets", "", ""),
        __A(SK_FAMILY,          "sk_family",    "i",    "Address family"),
@@ -109,7 +110,6 @@ struct meta_entry {
        __A(SK_ERR_QLEN,        "sk_err_queue", "i",    "Error queue length"),
        __A(SK_FORWARD_ALLOCS,  "sk_fwd_alloc", "i",    "Forward allocations"),
        __A(SK_SNDBUF,          "sk_sndbuf",    "i",    "Send buffer size"),
-       __A(VLAN_TAG,           "vlan",         "i",    "Vlan tag"),
 #undef __A
 };