+ }
+
+ if ( $self->router_routernum && FS::Conf->new->exists('radius-canopy') ) {
+
+ my @addr_block =
+ qsearch('addr_block', { routernum => $self->router_routernum } );
+ if ( @addr_block ) {
+
+ #?
+ warn "Multiple address blocks attached to this service's router; using first"
+ if scalar(@addr_block) > 1;