diff --git a/lib/linux_admin/network_interface/network_interface_rh.rb b/lib/linux_admin/network_interface/network_interface_rh.rb index 7a503b0..1837bb2 100644 --- a/lib/linux_admin/network_interface/network_interface_rh.rb +++ b/lib/linux_admin/network_interface/network_interface_rh.rb @@ -12,7 +12,15 @@ class NetworkInterfaceRH < NetworkInterface def initialize(interface) @interface_file = self.class.path_to_interface_config_file(interface) super + end + + # Gathers current network information for this interface + # + # @return [Boolean] true if network information was gathered successfully + def reload + super parse_conf + true end # Parses the interface configuration file into the @interface_config hash