-
Alessandro Rubini authored
This allows a run-time change of the active vlan, if CONFIG_VLAN is active at build time. The pfilter rules are being rewritten every time the vlan is changed (and we have one VLAN only for the CPU). wrc# vlan set 0 0 ("0") out of range Command "vlan": error -22 wrc# vlan set pippo 0 ("pippo") out of range Command "vlan": error -22 wrc# vlan current vlan: 10 (0xa) wrc# vlan set 20 current vlan: 20 (0x14) wrc# ip set 192.168.20.2 IP-address: 192.168.20.2 (static assignment) (and the node now replies to ping on vlan 20) wrc# vlan set 10 current vlan: 10 (0xa) wrc# ip set 192.168.10.2 IP-address: 192.168.10.2 (static assignment) (and the node now replies to ping on vlan 10) Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
ab7cb867
Name |
Last commit
|
Last update |
---|---|---|
arch/lm32 | ||
configs | ||
dev | ||
doc | ||
include | ||
ipc | ||
lib | ||
monitor | ||
pp_printf | ||
ppsi @ 5c5c8039 | ||
scripts | ||
sdb-lib | ||
shell | ||
softpll | ||
tools | ||
.gitignore | ||
.gitmodules | ||
COPYING | ||
Kconfig | ||
MAKEALL | ||
Makefile | ||
Makefile.kconfig | ||
bigobj.lds | ||
check-error.c | ||
dump-info.c | ||
revision.c | ||
system_checks.c | ||
wrc_main.c | ||
wrc_ptp.h | ||
wrs_main.c |