Open nathan-bonner opened 6 years ago
I believe dns_name is the correct column name in the database as opposed to hostname for these lines:
https://github.com/phpipam/phpipam-agent/blob/f7cc8814f574096ee0880d6fceb380216779b7b8/functions/classes/class.phpipamAgent.php#L1150 https://github.com/phpipam/phpipam-agent/blob/f7cc8814f574096ee0880d6fceb380216779b7b8/functions/classes/class.phpipamAgent.php#L1035
I should mention that I am using version 1.3.1 that was upgraded from 1.2. Here is a screenshot of the ipaddresses table:
Screenshot of Columns
@phpipam Perhaps in the upgrade process there needed to be a schema upgrade?
I believe dns_name is the correct column name in the database as opposed to hostname for these lines:
https://github.com/phpipam/phpipam-agent/blob/f7cc8814f574096ee0880d6fceb380216779b7b8/functions/classes/class.phpipamAgent.php#L1150 https://github.com/phpipam/phpipam-agent/blob/f7cc8814f574096ee0880d6fceb380216779b7b8/functions/classes/class.phpipamAgent.php#L1035