[docs] update VLAN tag example
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 12 Oct 2012 12:13:55 +0000 (12:13 +0000)
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 12 Oct 2012 12:13:55 +0000 (12:13 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33732 3c298f89-4303-0410-b956-a3cf2f4a3e73

docs/network.tex

index c14c4db..5516bd9 100644 (file)
@@ -22,11 +22,13 @@ of interfaces and add:
 \end{Verbatim}
 
 It is possible to use VLAN tagging on an interface simply by adding the VLAN IDs
-to it, e.g. \texttt{eth0.1}. These can be nested as well. See the switch section for
+to it, e.g. \texttt{eth0.15}. These can be nested as well. See the switch section for
 this.
 
 \begin{Verbatim}
-config inter
+config interface
+    option ifname    "eth0.15"
+    option proto     "none"
 \end{Verbatim}
 
 This sets up a simple static configuration for \texttt{eth0}. \texttt{proto} specifies the