mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
change port entry in database to unsigned, to allow ports > 32k (duh!)
git-svn-id: http://www.observium.org/svn/observer/trunk@2401 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
+1
-1
@@ -216,7 +216,7 @@ CREATE TABLE IF NOT EXISTS `devices` (
|
||||
`sysName` varchar(128) CHARACTER SET latin1 DEFAULT NULL,
|
||||
`community` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
|
||||
`snmpver` varchar(4) CHARACTER SET latin1 NOT NULL DEFAULT 'v2c',
|
||||
`port` smallint(5) NOT NULL DEFAULT '161',
|
||||
`port` smallint(5) unsigned NOT NULL DEFAULT '161',
|
||||
`transport` varchar(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'udp',
|
||||
`timeout` int(11) DEFAULT NULL,
|
||||
`retries` int(11) DEFAULT NULL,
|
||||
|
||||
Reference in New Issue
Block a user