Skip to content

Commit

Permalink
Should more consistently get the broadcast address for DHCP items. Ba…
Browse files Browse the repository at this point in the history
…sically a hopeful fix for #667
  • Loading branch information
mastacontrola committed Jan 14, 2025
1 parent e7535d0 commit 498fed4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/common/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,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
Expand Down
2 changes: 1 addition & 1 deletion packages/web/lib/fog/system.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private static function _versionCompare()
public function __construct()
{
self::_versionCompare();
define('FOG_VERSION', '1.6.0-beta.2156');
define('FOG_VERSION', '1.6.0-beta.2157');
define('FOG_CHANNEL', 'Beta');
define('FOG_SCHEMA', 293);
define('FOG_BCACHE_VER', 152);
Expand Down

0 comments on commit 498fed4

Please sign in to comment.