diff --git a/src/exabgp/configuration/configuration.py b/src/exabgp/configuration/configuration.py index 015b32288..7fae35597 100644 --- a/src/exabgp/configuration/configuration.py +++ b/src/exabgp/configuration/configuration.py @@ -447,7 +447,7 @@ def validate(self): for neighbor in self.neighbors.values(): for notification in neighbor.api: for api in neighbor.api[notification]: - if not self.processes[api].get('run', ''): + if neighbor.api[notification] != [neighbor.PROCESS_ALL] and not self.processes[api].get('run', ''): return self.error.set( "\n\nan api called '%s' is used by neighbor '%s' but not defined\n\n" % (api, neighbor['peer-address']),