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:
Adam Amstrong
2011-08-24 22:35:42 +00:00
parent 210392f9c5
commit 143de3d027
2 changed files with 2 additions and 2 deletions

View File

@@ -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,