summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/v1arch/agent/ntforg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/v1arch/agent/ntforg.py b/examples/v1arch/agent/ntforg.py
index e1084f6..ad8305c 100644
--- a/examples/v1arch/agent/ntforg.py
+++ b/examples/v1arch/agent/ntforg.py
@@ -30,6 +30,6 @@ transportDispatcher.registerTransport(
transportDispatcher.sendMessage(
encoder.encode(trapMsg), udp.domainName, ('localhost', 162)
)
-transportDispatcher.stopDispatcher() # XXX run only once
+transportDispatcher.jobStarted(1)
transportDispatcher.runDispatcher()
transportDispatcher.closeDispatcher()