summaryrefslogtreecommitdiffstats
path: root/lib/facter/interfaces.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/facter/interfaces.rb')
-rw-r--r--lib/facter/interfaces.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/facter/interfaces.rb b/lib/facter/interfaces.rb
index 1239215..4fbaef1 100644
--- a/lib/facter/interfaces.rb
+++ b/lib/facter/interfaces.rb
@@ -22,7 +22,7 @@ Facter::Util::IP.get_interfaces.each do |interface|
# Make a fact for each detail of each interface. Yay.
# There's no point in confining these facts, since we wouldn't be able to create
# them if we weren't running on a supported platform.
- %w{ipaddress macaddress netmask}.each do |label|
+ %w{ipaddress ipaddress6 macaddress netmask}.each do |label|
Facter.add(label + "_" + Facter::Util::IP.alphafy(interface)) do
setcode do
Facter::Util::IP.get_interface_value(interface, label)