File net-snmp-5.2.1-socket_path.diff of Package net-snmp

Index: agent/mibgroup/agentx/protocol.h
===================================================================
--- agent/mibgroup/agentx/protocol.h.orig
+++ agent/mibgroup/agentx/protocol.h
@@ -13,7 +13,7 @@ extern          "C" {
 
 #define AGENTX_PORT	705
 #ifndef NETSNMP_AGENTX_SOCKET
-#define NETSNMP_AGENTX_SOCKET	"/var/agentx/master"
+#define NETSNMP_AGENTX_SOCKET	"/var/run/agentx/master"
 #endif
 
     /*
openSUSE Build Service is sponsored by