Only issue revocations if there are any
@@ -772,6 +772,7 @@ class BeaconServer(SCIONElement, metaclass=ABCMeta):
logging.info("IF %d went down.", if_id)
to_revoke.append(if_id)
if_state.revoke_if_expired()
+ if to_revoke:
self._issue_revocations(to_revoke)
sleep_interval(start_time, self.IF_TIMEOUT_INTERVAL,
"Handle IF timeouts")
