We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b68363 + a91b888 commit 1e256b9Copy full SHA for 1e256b9
lib/linux_admin/network_interface/network_interface_rh.rb
@@ -12,7 +12,15 @@ class NetworkInterfaceRH < NetworkInterface
12
def initialize(interface)
13
@interface_file = self.class.path_to_interface_config_file(interface)
14
super
15
+ end
16
+
17
+ # Gathers current network information for this interface
18
+ #
19
+ # @return [Boolean] true if network information was gathered successfully
20
+ def reload
21
+ super
22
parse_conf
23
+ true
24
end
25
26
# Parses the interface configuration file into the @interface_config hash
0 commit comments