From 034e61f6a4c8776d5566e43eee36bc173103ca11 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 21 Mar 2006 16:53:59 +0000 Subject: [PATCH] add IP variable to ipcalc output SVN-Revision: 3436 --- openwrt/package/base-files/default/bin/ipcalc | 1 + 1 file changed, 1 insertion(+) diff --git a/openwrt/package/base-files/default/bin/ipcalc b/openwrt/package/base-files/default/bin/ipcalc index 8d12545b65..9c48354494 100755 --- a/openwrt/package/base-files/default/bin/ipcalc +++ b/openwrt/package/base-files/default/bin/ipcalc @@ -15,6 +15,7 @@ BEGIN { limit=or(network,compl(netmask))-1 if (end>limit) end=limit + print "IP="int2ip(ipaddr) print "NETMASK="int2ip(netmask) print "BROADCAST="int2ip(broadcast) print "NETWORK="int2ip(network) -- 2.30.2