File net-snmp-5.9.4-socket-path.patch of Package net-snmp

Index: net-snmp-5.7.2/agent/mibgroup/agentx/protocol.h
===================================================================
--- net-snmp-5.7.2.orig/agent/mibgroup/agentx/protocol.h
+++ net-snmp-5.7.2/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	"/run/agentx/master"
 #endif
 
     /*
openSUSE Build Service is sponsored by