File mrtg-switches.patch of Package mrtg

Index: bin/cfgmaker
===================================================================
--- bin/cfgmaker
+++ bin/cfgmaker
@@ -175,7 +175,7 @@ sub InterfaceInfo($$$$$) {
         push @Variables,  ($1 > 11.0 or $1 < 10.0 ) ? "ifAlias" : "CiscolocIfDescr";
         if ($1 > 11.2) {push @Variables, "vmVlan";};
        if ($1 > 11.3) {push @Variables, "vlanTrunkPortDynamicStatus";};
-    } elsif ( $routers->{$router}{deviceinfo}{Vendor} =~ /(?:hp|juniper|dlink|wwp|foundry|dellLan|force10|3com|extremenetworks|openBSD|arista|enterasys|zyxel|vyatta)/i) {
+    } elsif ( $routers->{$router}{deviceinfo}{Vendor} =~ /(?:cisco|hp|juniper|dlink|wwp|foundry|dellLan|force10|3com|extremenetworks|openBSD|arista|enterasys|zyxel|vyatta)/i) {
         push @Variables, "ifAlias";
     }
 
@@ -993,7 +993,7 @@ sub DeviceInfo ($$$) {
             '1.3.6.1.4.1.94.' =>        'nokiaipsofw',
             '1.3.6.1.4.1.307.' =>       'portmaster',
             '1.3.6.1.4.1.890.' =>       'zyxel',
-	    '1.3.6.1.4.1.2272.30' =>    'nortel',
+            '1.3.6.1.4.1.2272.30' =>    'nortel',
             '1.3.6.1.4.1.30155.' =>      'openBSD',
             '1.3.6.1.4.1.30065.' =>      'arista',    
             '1.3.6.1.4.1.5624.' =>      'enterasys',    
openSUSE Build Service is sponsored by