Menu

Fixes for current version

davidg969
2014-04-01
2014-04-02
  • davidg969

    davidg969 - 2014-04-01

    I have identified two issues in the current version :
    1) in NetDB.pm, you should replace :
    $static = "no" if !$static;
    by
    $static = 0 if !$static;
    as :
    mysql> describe ip;
    +---------+-------------+------+-----+---------+-------+
    | Field | Type | Null | Key | Default | Extra |
    +---------+-------------+------+-----+---------+-------+
    | ip | varchar(32) | NO | PRI | NULL | |
    | static | tinyint(4) | YES | | NULL | |
    | lastmac | varchar(20) | YES | | NULL | |
    | owner | varchar(30) | YES | | NULL | |
    +---------+-------------+------+-----+---------+-------+

    -> static is a TINYINT.

    2) in the table nacreg, the userID column is too short and it raises some errors on my setup. 30 characters would be better.

     
  • Jonathan Yantis

    Jonathan Yantis - 2014-04-01

    David,

    I cleaned up those non-integrers in the library and will update the nacreg userID in the next version. For now you can just do this in mysql if you haven't figured it out already:

    alter table nacreg modify userID varchar(30);

    Thanks and let us know if you run across other issues,
    Jonathan

     
  • davidg969

    davidg969 - 2014-04-02

    Thank you.

     

Log in to post a comment.