summaryrefslogtreecommitdiffstats
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
commit5574eba1944128cda1b8d81f396f1aa1058d842c (patch)
tree5417fbfa11372e9ee9383d8dbc85553d0330d0d8 /lib/vty.c
parent353cb3db08090c7964a633548a686b099b03e860 (diff)
downloadquagga-5574eba1944128cda1b8d81f396f1aa1058d842c.tar.bz2
quagga-5574eba1944128cda1b8d81f396f1aa1058d842c.tar.xz
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)