[package] base-files: introduce /lib/functions/network.sh
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 28 May 2012 03:15:02 +0000 (03:15 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 28 May 2012 03:15:02 +0000 (03:15 +0000)
commit41d413b29cf9461f501c280e1ede2280f7932557
tree2285dee3f9444194b299c1b34d07b95076fde9f3
parent0f299fab073954b94f4804784b39b1fcb5bef8d9
[package] base-files: introduce /lib/functions/network.sh
This file will contain common procedures to deal with network interfaces.
Initially provides network_get_ipaddr(), network_get_ipaddr6(),
network_get_subnet() and network_get_subnet6() to determine the
primary IP addresses or subnets of a given logical interface.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31935 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/Makefile
package/base-files/files/lib/functions/network.sh [new file with mode: 0644]