Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
facter
facter-2.4.6-vlan_interfaces.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File facter-2.4.6-vlan_interfaces.patch of Package facter
--- facter-2.4.6/lib/facter/util/ip.rb +++ facter-2.4.6/lib/facter/util/ip.rb @@ -83,6 +83,7 @@ module Facter::Util::IP when 'Linux' output = Facter::Util::IP.exec_ip(["link"]) output.gsub!(/^\d+:\s*/, "") # delete leading number + output.gsub!(/@[^:]+/, "") # delete physical interface name in case of tagged vlan like "vlan100@bond0" when 'OpenBSD', 'NetBSD', 'FreeBSD', 'Darwin', 'GNU/kFreeBSD', 'DragonFly' output = Facter::Util::IP.exec_ifconfig(["-a","2>/dev/null"]) when 'SunOS'
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor