Skip to content

Commit

Permalink
Merge pull request #117 from redBorder/development
Browse files Browse the repository at this point in the history
Release 1.0.10
  • Loading branch information
manegron committed Apr 30, 2024
2 parents 12963f0 + f3cafe2 commit 7c8ed18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.9
1.0.10
3 changes: 3 additions & 0 deletions resources/scripts/rb_init_conf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@
gateway=iface['gateway'] unless iface['gateway'].nil? or iface['gateway'].empty?
end

# No extra configuration is require if the interface has no IP/Netmask (for now)
next unless ip && !ip.empty?

metric=Config_utils.network_contains(serf['sync_net'], ip) ? 101:100
cidr=Config_utils.to_cidr_mask(netmask)
iprange=Config_utils.serialize_ipaddr(ip+cidr)
Expand Down

0 comments on commit 7c8ed18

Please sign in to comment.