summaryrefslogtreecommitdiffstats
path: root/package/network/config/swconfig/src
Commit message (Collapse)AuthorAgeFilesLines
* swconfig: support receiving SWITCH_TYPE_LINK from kernelJohn Crispin2015-12-233-0/+92
| | | | | | | | | When using cli, print link state the same way kernel used to do it. This will allow kernel switching PORT_LINK from SWITCH_TYPE_STRING. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47998
* swconfig: Split libsw out of swconfig for reuse in other packagesJohn Crispin2015-07-141-3/+6
| | | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 46358
* swconfig: swlib.c: Fix another memleakFelix Fietkau2015-07-081-0/+3
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 46275
* swconfig: swlib.c: free name and description of attributesJohn Crispin2015-07-072-2/+4
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46232
* swconfig: swlib.c: free portmaps in swlib_free()John Crispin2015-07-072-1/+15
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46231
* swconfig: swlib.c: remove const qualifier for val.s since this is supposed ↵John Crispin2015-07-072-2/+2
| | | | | | | | to be free'd Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46230
* swconfig: swlib.c: free device name and aliasJohn Crispin2015-07-072-2/+4
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46229
* swconfig: improve usability when switch device incorrectJohn Crispin2014-01-121-1/+1
| | | | | | | | http://patchwork.openwrt.org/patch/4701/ Signed-off-by: Andreas Mohr <andim2@users.sf.net> SVN-Revision: 39229
* swconfig: remove useless variables, return -1 on errorsJohn Crispin2013-12-273-11/+2
| | | | | | | | spotted with cppcheck Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 39170
* add portmap support to userlandJohn Crispin2013-04-093-1/+93
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36284
* add "swconfig list" supportJohn Crispin2013-04-093-0/+41
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36282
* move lots of kernel related packages to the new system/ folderJohn Crispin2012-10-175-0/+1520
SVN-Revision: 33830