Welcome, Guest. Please login or register.

Author Topic: Missing check leads to error crash  (Read 1202 times)

jacobl

  • Guest
Missing check leads to error crash
« on: August 04, 2015, 12:43:06 AM »
While the following may be attributed to user error, it is probably better to add a check on the input to avoid a rather fatal crash-loop with the message

Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1120.


The cause of that error was exclusion ("!") ranges that were not entirely contained in the already included range of IPs in the seedlist. i.e. apparently, it is not only illogical but is invalid input to "remove" an IP that has not been already added to the seed database.

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2777
    • View Profile
    • NeDi
Re: Missing check leads to error crash
« Reply #1 on: August 04, 2015, 11:11:15 AM »
Thanks for the feedback. I've addressed this issue in NeDi 1.5. You even have a dedicated seedlist test option to make sure you end up with the seeds you want...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo