Closed YukariChiba closed 4 years ago
Thanks @SteveCharlesYang and very close with:
if( $this->customer()->isRouteServerClient() || $this->customer()->isRouteServerClient(6) && $this->customer()->isIrrdbFiltered() ) {
In the end, I moved the proto foreach()
loop up a level to achieve the same thing with better messaging.
ISSUE TYPE
Bug Report
OS
Linux Debian 10 (4.19.0-8-amd64)
VERSION
ENVIRONMENT
https://gist.github.com/SteveCharlesYang/1d3d6e8f3b86150d30ef18f801957497
CONFIGURATION
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
IMPORTANCE
If there is no IPv4 configured at the interface, IRRDB update will fail.
RELEVANT CODES
app/Tasks/Irrdb/UpdateAsnDb.php:49
app/Tasks/Irrdb/UpdatePrefixDb.php:50
From
app/Models/Customer.php:279
:A possible solution is: