Permalink
Browse files

Use 'int unsigned' type for 'srcaddr' and 'dstaddr' fields

  • Loading branch information...
1 parent 5fcda43 commit 0dd12c79d19fdd862549744a67d2898feec81f66 @taem committed Feb 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 config
View
4 config
@@ -15,8 +15,8 @@ TABLE_DDS=" \
( \
unix_secs int(11) unsigned NOT NULL default '0', \
doctets int(11) unsigned NOT NULL default '0', \
- srcaddr varchar(45) NOT NULL default '0', \
- dstaddr varchar(45) NOT NULL default '0', \
+ srcaddr int unsigned NOT NULL default '0', \
+ dstaddr int unsigned NOT NULL default '0', \
input smallint(5) unsigned NOT NULL default '0', \
output smallint(5) unsigned NOT NULL default '0', \
srcport smallint(5) unsigned NOT NULL default '0', \

0 comments on commit 0dd12c7

Please sign in to comment.