d86a0686d5
- take maintainer - drop some duplicate copies of docs which are in manpages anyway - patch cfgmaker to recognise WWP gear and OpenSNMPD - more perl 5.10.1 taint mode fixes
24 lines
1.2 KiB
Plaintext
24 lines
1.2 KiB
Plaintext
$OpenBSD: patch-bin_cfgmaker,v 1.1 2010/03/20 23:01:11 sthen Exp $
|
|
--- bin/cfgmaker.orig Wed Jan 20 10:56:30 2010
|
|
+++ bin/cfgmaker Fri Feb 5 12:20:38 2010
|
|
@@ -170,7 +170,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|foundry|dellLan|force10|3com|extremenetworks)/) {
|
|
+ } elsif ( $routers->{$router}{deviceinfo}{Vendor} =~ /(?:hp|juniper|foundry|dellLan|force10|3com|extremenetworks|wwp|openBSD)/) {
|
|
push @Variables, "ifAlias";
|
|
}
|
|
|
|
@@ -992,7 +992,9 @@ sub DeviceInfo ($$$) {
|
|
'1.3.6.1.4.1.2636.' => 'juniper',
|
|
'1.3.6.1.4.1.94.' => 'nokiaipsofw',
|
|
'1.3.6.1.4.1.307.' => 'portmaster',
|
|
- '1.3.6.1.4.1.2272.30' => 'nortel'
|
|
+ '1.3.6.1.4.1.2272.30' => 'nortel',
|
|
+ '1.3.6.1.4.1.307' => 'wwp',
|
|
+ '1.3.6.1.4.1.30155' => 'openBSD'
|
|
);
|
|
foreach (keys %vendorIDs) {
|
|
$DevInfo{Vendor} = $vendorIDs{$_} if ($DevInfo{sysObjectID} =~ /\Q$_\E/);
|