From 161e2b82e19743194303055bdf04c41a5704cf6a Mon Sep 17 00:00:00 2001 From: Paul Gear Date: Mon, 20 Jul 2015 14:08:23 +1000 Subject: [PATCH] Include copyright --- includes/snmp.inc.php | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/includes/snmp.inc.php b/includes/snmp.inc.php index 207cfb601..1f7d0e92f 100644 --- a/includes/snmp.inc.php +++ b/includes/snmp.inc.php @@ -1,4 +1,19 @@ + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. Please see LICENSE.txt at the top level of + * the source code distribution for details. + */ function string_to_oid($string) { $oid = strlen($string); @@ -1021,8 +1036,16 @@ function oid_rrd_type($oid, $mibdef) return false; case 'TimeTicks': - // Need to find a way to flag that this should be parsed - // return 'COUNTER'; + // FIXME + return false; + + case 'INTEGER': + case 'Integer32': + // FIXME + return false; + + case 'Counter32': + // FIXME return false; case 'Counter64':