diff options
author | hasso <hasso> | 2004-10-07 19:33:46 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-10-07 19:33:46 +0000 |
commit | 6ad96ea16ee54578391bb4ca88d047ac9d3654fc (patch) | |
tree | 7a09427aaafcc48fe644ed4c2e6804005732b88f /lib/vty.c | |
parent | 015253c3f14cacad85a761fae0259ad32f083d4a (diff) |
Make more strings const.
Diffstat (limited to 'lib/vty.c')
-rw-r--r-- | lib/vty.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |