mbox

Cleanup2017: Remove function IPInSubnet

Message ID 1498725151-12074-1-git-send-email-alexander.marx@ipfire.org
State Dropped
Headers

Message

Alexander Marx June 29, 2017, 6:32 p.m. UTC
  In order to cleanup code, the old function IpInSubnet is deleted from general-functions.
In the future only network functions from network-functions.pl should be used.
So this commit deletes the IpInSubnet and replaces it with the ip_address_in_network from the new network-functions.pl

Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
---
 config/cfgroot/general-functions.pl | 32 ++++++++++++--------------------
 config/firewall/convert-dmz         |  8 ++++----
 config/firewall/convert-outgoingfw  |  6 +++---
 config/firewall/firewall-lib.pl     |  6 +++---
 html/cgi-bin/dhcp.cgi               | 22 ++++++----------------
 html/cgi-bin/firewall.cgi           | 29 ++++++++++++++---------------
 html/cgi-bin/fwhosts.cgi            | 17 ++++++++---------
 html/cgi-bin/ovpnmain.cgi           | 33 ++++++++++++++-------------------
 html/cgi-bin/wireless.cgi           |  4 +---
 9 files changed, 65 insertions(+), 92 deletions(-)