diff options
author | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-02 17:11:35 +0000 |
---|---|---|
committer | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-02 17:11:35 +0000 |
commit | 8364e12dd2737cf77a4e3ead7c3d7bb9cc684010 (patch) | |
tree | bbcf4243478504ad6d5c6c9183ba7a81a8118b7a /lib/vty.c | |
parent | db597018b8c47208e4139b75fdcd798505695ea8 (diff) | |
parent | 1e2ad204c4c72cb3ffa73864154c96047da8cad4 (diff) | |
download | quagga-8364e12dd2737cf77a4e3ead7c3d7bb9cc684010.tar.bz2 quagga-8364e12dd2737cf77a4e3ead7c3d7bb9cc684010.tar.xz |
Merge branch 'pthreads' of /git/quagga.euro-ix into pthreads
Diffstat (limited to 'lib/vty.c')
-rw-r--r-- | lib/vty.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -440,10 +440,7 @@ vty_command (struct vty *vty, char *buf) ret = cmd_execute_command (vline, vty, NULL, 0); /* Get the name of the protocol if any */ - if (zlog_default) - protocolname = zlog_proto_names[zlog_default->protocol]; - else - protocolname = zlog_proto_names[ZLOG_NONE]; + protocolname = zlog_get_proto_name(NULL); #ifdef CONSUMED_TIME_CHECK GETRUSAGE(&after); |