NeDi Community
NeDi Software Specific => Discovery => Topic started by: peter.minicka on December 05, 2017, 01:22:04 pm
-
After running following command:
./nedi.pl -N arpwatch
I've received following error:
DBD::mysql::db selectall_arrayref failed: Table 'nedi.dns0' doesn't exist at ./inc/libdb.pm line 2002.
DBD::mysql::db selectall_arrayref failed: Table 'nedi.dns0' doesn't exist at ./inc/libdb.pm line 2002.
To solve this error I changed line 1872 in ./inc/libmisc.pm from
if($amc{$mc}{'name'} and $main::opt{'N'} !~ /-iponly$/){ db::WriteDNS($amc{$mc}{'ip'},0,0,$amc{$mc}{'name'}) }
to
if($amc{$mc}{'name'} and $main::opt{'N'} !~ /-iponly$/){ db::WriteDNS($amc{$mc}{'ip'},'',0,$amc{$mc}{'name'}) }
Is there a better solution?
Greetings Peter
-
Nope, looks like I missed that one :) I got it right in 1.7 though...
Tx for this!
-
Thank you for your great work! Makes my life much easier!