aboutsummaryrefslogtreecommitdiffstats
path: root/package/swconfig/src/swlib.c
Commit message (Collapse)AuthorAgeFilesLines
* move lots of kernel related packages to the new system/ folderJohn Crispin2012-10-171-686/+0
| | | | SVN-Revision: 33830
* swconfig: fix off-by-one error, causing segfaults on gcc 4.6+ (fixes #9765)Felix Fietkau2012-02-121-1/+1
| | | | SVN-Revision: 30485
* swconfig: Add generic switch identifiersJonas Gorski2011-07-271-2/+6
| | | | | | | | Also make switches available under a generic name "switch<num>" for device name agnostic access. The old device name is used as an alias for backward compatibility. SVN-Revision: 27800
* swconfig: avoid setting "NOVAL" attributes if "0" was provided as a valueFelix Fietkau2011-07-031-0/+3
| | | | SVN-Revision: 27374
* package/swconfig: add sanity checks to prevent a segfaultGabor Juhos2011-01-081-0/+15
| | | | SVN-Revision: 24932
* swconfig: Add cpu port index to help output.Gabor Juhos2010-04-161-0/+2
| | | | | | | | | | | | | Let swconfig provide the cpu port index in its help page. This is needed as e.g. Atheros switches have their cpu port at port 0, not port 5. This could allow e.g. luci to get a rough overview of the layout of the switch. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 20939
* swconfig: Fix switch name.Gabor Juhos2010-04-161-1/+1
| | | | | | | | | | This patch fixes a small typo in swconfig's client side that caused it to print the interface name instead of the switch's device name on the help page. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 20938
* swconfig: use libnl-tiny instead of libnlFelix Fietkau2009-04-301-5/+10
| | | | SVN-Revision: 15508
* swconfig: implement uci loading supportFelix Fietkau2009-04-211-0/+43
| | | | SVN-Revision: 15315
* add new switch configuration apiFelix Fietkau2008-10-181-0/+614
SVN-Revision: 13009