Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed examples

  • Loading branch information...
commit eb41e75b80333cd6340f9a54cbcc34c2985a7755 1 parent 421b616
@bsingr bsingr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/change_ip.rb
View
2  examples/change_ip.rb
@@ -5,7 +5,7 @@
# new ip4 config
# ip + netmask + gateway
-ip4 = NetworkManager::Ip4Config.from_dot_notation '192.168.10.100', '255.255.255.0', '192.168.10.1'
+ip4 = NetworkManager::Ip4::Config.from_dot_notation '192.168.10.100', '255.255.255.0', '192.168.10.1'
# change the settings obj
con.ip4_manual = ip4
Please sign in to comment.
Something went wrong with that request. Please try again.