Felix Fietkau
e4dadf438e
swconfig: Remove unused code
...
Signed-off-by: Martin Mares <mj@ucw.cz>
SVN-Revision: 19758
15 years ago
Felix Fietkau
1d1e4d1035
swconfig: add copyright for Martin Mares
...
Signed-off-by: Martin Mares <mj@ucw.cz>
SVN-Revision: 19642
15 years ago
Felix Fietkau
7dcd4af070
swconfig: use print_attr_val() in CMD_GET
...
Use the print_attr_val() function introduced by the previous patch
to simplify the get command.
Signed-off-by: Martin Mares <mj@ucw.cz>
SVN-Revision: 19641
15 years ago
Felix Fietkau
b7d662dce8
swconfig: add show command
...
Add a "show" command, which displays all attributes of the selected port,
VLAN, or of the whole switch.
Signed-off-by: Martin Mares <mj@ucw.cz>
SVN-Revision: 19640
15 years ago
Felix Fietkau
cfb74b3b81
swconfig: clean up command line parsing
...
The command line parser was unsystematic and it silently ignored
many illegal combinations of options. Try to clean that up.
Signed-off-by: Martin Mares <mj@ucw.cz>
SVN-Revision: 19639
15 years ago
Gabor Juhos
428f066b77
swconfig: show tagged port flag
...
SVN-Revision: 19238
15 years ago
Felix Fietkau
54bbc30687
swconfig: support providing the switch device name in an option instead of the section name - necessary to support switches that contain characters such as "-"
...
SVN-Revision: 19208
15 years ago
Nicolas Thill
08938e63d0
add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc revisions
...
SVN-Revision: 17749
15 years ago
Jo-Philipp Wich
b75288df95
swconfig: clear ip address on the switch interface, this prevents duplicate assignments of 192.168.1.1 on the DIR-300 at least
...
SVN-Revision: 17597
15 years ago
Andy Boyett
a5f80019ef
bump some revisions and update copyrights
...
SVN-Revision: 17554
15 years ago
Felix Fietkau
d498ff436a
move /bin/swconfig to /sbin
...
SVN-Revision: 17387
15 years ago
Felix Fietkau
569330c102
swconfig: fix kernel version dependency
...
SVN-Revision: 16286
16 years ago
Felix Fietkau
ad9d1857a5
swconfig: use libnl-tiny instead of libnl
...
SVN-Revision: 15508
16 years ago
Felix Fietkau
8bd7b4bb6b
automatically configure switches when swconfig is installed
...
SVN-Revision: 15328
16 years ago
Felix Fietkau
2fe29deb90
swconfig: implement uci loading support
...
SVN-Revision: 15315
16 years ago
Felix Fietkau
c239c9814a
swconfig: fix up kernel dependencies
...
SVN-Revision: 15304
16 years ago
Felix Fietkau
34939cad39
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
SVN-Revision: 15242
16 years ago
Nicolas Thill
21d7852de0
replace some -I & -L flags with $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) when appropriate
...
SVN-Revision: 14651
16 years ago
Felix Fietkau
487c622ac0
add new switch configuration api
...
SVN-Revision: 13009
16 years ago