summaryrefslogtreecommitdiff
path: root/lib/vty.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-07 19:33:46 +0000
committerhasso <hasso>2004-10-07 19:33:46 +0000
commit6ad96ea16ee54578391bb4ca88d047ac9d3654fc (patch)
tree7a09427aaafcc48fe644ed4c2e6804005732b88f /lib/vty.c
parent015253c3f14cacad85a761fae0259ad32f083d4a (diff)
Make more strings const.
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vty.c b/lib/vty.c
index c10c984b..42b7e925 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -1854,7 +1854,7 @@ vty_serv_sock_family (const char* addr, unsigned short port, int family)
/* VTY shell UNIX domain socket. */
void
-vty_serv_un (char *path)
+vty_serv_un (const char *path)
{
int ret;
int sock, len, flags;
@@ -2019,7 +2019,7 @@ vtysh_read (struct thread *thread)
/* Determine address family to bind. */
void
-vty_serv_sock (const char *addr, unsigned short port, char *path)
+vty_serv_sock (const char *addr, unsigned short port, const char *path)
{
/* If port is set to 0, do not listen on TCP/IP at all! */
if (port)