From 6ad96ea16ee54578391bb4ca88d047ac9d3654fc Mon Sep 17 00:00:00 2001 From: hasso Date: Thu, 7 Oct 2004 19:33:46 +0000 Subject: Make more strings const. --- lib/vty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/vty.c') 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) -- cgit v1.2.1