summaryrefslogtreecommitdiff
path: root/lib/sockopt.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-02-01 10:52:21 -0500
committerGitHub <noreply@github.com>2017-02-01 10:52:21 -0500
commit5a2bd83d9de7bdd528b4be78f337f9c7a196c70b (patch)
tree477672d8900b8fcba04bd36f7b5122242d9ac876 /lib/sockopt.h
parent681ca8cc528a1aec1e451b9ae860d3825f999052 (diff)
parentd24736fa17f9970dd58c5e6417bf3a5444011f5e (diff)
Merge pull request #146 from opensourcerouting/assorted-stable
assorted fixes for stable/2.0
Diffstat (limited to 'lib/sockopt.h')
-rw-r--r--lib/sockopt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sockopt.h b/lib/sockopt.h
index 8e7895dd6f..7e1bd62446 100644
--- a/lib/sockopt.h
+++ b/lib/sockopt.h
@@ -25,7 +25,8 @@
#include "sockunion.h"
/* Override (vty) socket paths, but keep the filename */
-extern void set_socket_path (char *path, char *defaultpath, char *newpath, int maxsize);
+extern void set_socket_path (char *path, const char *defaultpath,
+ char *newpath, int maxsize);
extern void setsockopt_so_recvbuf (int sock, int size);
extern void setsockopt_so_sendbuf (const int sock, int size);