$ perl /var/nedi/nedi.pl -v -N ouiDNS :Net::Nslookup not availableCLI :IO-Pty loadedWEB :LWP-UserAgent loadedOUI :38299 NIC vendor entries readDBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'L CO.' WHERE mac='448a5b7b506e'' at line 1 at /var/nedi/inc/libdb.pm line 2166.
root at krenoc in ~$ perl /var/nedi/nedi.pl -v -N ouiDNS :Net::Nslookup not availableCLI :IO-Pty loadedWEB :LWP-UserAgent loadedOUI :38299 NIC vendor entries read......NOUI:Updated 8773 node vendorsEND :Took 0 minutes
Hello,How to make this OUI update to work with NeDi 1.7?It seems that the -N option refers to IP or names in 1.7.[nedi]$ perl /var/nedi/nedi.pl -v -N ouiCLI :IO-Pty loadedInvalid IP: oui.1.1.1 at /var/nedi/nedi.pl line 192.Brgds,Gaël
Umpf, vendors use single quotes and I never encountered it...Search the function ReadOUIs in libmisc.pm and change: $m[2] =~ s/"//g;to: $m[2] =~ s/["']//g;