summaryrefslogtreecommitdiff
path: root/ASNMP/agent/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ASNMP/agent/main.cpp')
-rw-r--r--ASNMP/agent/main.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/ASNMP/agent/main.cpp b/ASNMP/agent/main.cpp
deleted file mode 100644
index 2aec17babbc..00000000000
--- a/ASNMP/agent/main.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-// $Id$
-
-// This server daemon processes SNMP Version 1 get, get-next, and set
-// commands. over the MIB II "System" group only.
-
-#include "ace/config-all.h"
-#include "snmp_agent.h"
-
-ACE_RCSID(agent, main, "$Id$")
-
-int main (int argc, char *argv[])
-{
- snmp_agent the_agent;
-
- if (the_agent.set_args(argc, argv)) {
- return 1;
- }
-
- if (!the_agent.valid()) {
- return 1;
- }
-
- the_agent.run(); // main loop
-
- return 0;
-}