Permalink
Browse files

fixed examples

  • Loading branch information...
1 parent 421b616 commit eb41e75b80333cd6340f9a54cbcc34c2985a7755 @bsingr bsingr committed Dec 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/change_ip.rb
View
@@ -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

0 comments on commit eb41e75

Please sign in to comment.