diff --git a/lib/common/functions.sh b/lib/common/functions.sh index bd0a3b0562..3b0195446f 100755 --- a/lib/common/functions.sh +++ b/lib/common/functions.sh @@ -252,7 +252,7 @@ interface2broadcast() { echo "No interface passed" return 1 fi - echo $(ip -4 addr show | grep -w inet | grep $interface | awk '{print $4}') + echo $(ip -4 addr show $interface | grep -oP 'brd \K\S+') } subtract1fromAddress() { local ip=$1 diff --git a/packages/web/lib/fog/system.class.php b/packages/web/lib/fog/system.class.php index a0dd0a0d7d..52b42b7fa8 100644 --- a/packages/web/lib/fog/system.class.php +++ b/packages/web/lib/fog/system.class.php @@ -53,7 +53,7 @@ private static function _versionCompare() public function __construct() { self::_versionCompare(); - define('FOG_VERSION', '1.5.10.1629'); + define('FOG_VERSION', '1.5.10.1634'); define('FOG_SCHEMA', 273); define('FOG_BCACHE_VER', 141); define('FOG_CLIENT_VERSION', '0.13.0');