X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5cfe9e5b6dd08d90d025e627c9859f12c3ef6c69..7171b94a0526152910353dbf1f07a0ee597976da:/cookbooks/networking/libraries/ipaddresses.rb diff --git a/cookbooks/networking/libraries/ipaddresses.rb b/cookbooks/networking/libraries/ipaddresses.rb index 89b20fe9e..5f746c9aa 100644 --- a/cookbooks/networking/libraries/ipaddresses.rb +++ b/cookbooks/networking/libraries/ipaddresses.rb @@ -25,6 +25,10 @@ module OpenStreetMap address end + def to_str + address + end + def subnet "#{@network}/#{@prefix}" end