]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Update signature of transport string function for SNMP.
authorVincent Bernat <bernat@luffy.cx>
Tue, 7 Jul 2009 13:23:07 +0000 (15:23 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 7 Jul 2009 13:23:07 +0000 (15:23 +0200)
src/agent_priv.c

index d6ef1d8ce7e0713ee705d6e29ca77c48156f9d5e..e1daf34e72677a0b65a7327c4d10bb087e257d94 100644 (file)
@@ -173,7 +173,7 @@ netsnmp_transport *
 #if !HAVE_NETSNMP_TDOMAIN_F_CREATE_FROM_TSTRING_NEW
 agent_priv_unix_create_tstring(const char *string, int local)
 #else
-agent_priv_unix_create_tstring(const char *string, int local, char *default_target)
+agent_priv_unix_create_tstring(const char *string, int local, const char *default_target)
 #endif
 {
 #if HAVE_NETSNMP_TDOMAIN_F_CREATE_FROM_TSTRING_NEW