Transition to use of 'telnet_init_default'
Related: OS#5809 Change-Id: Icc57c68337d55c6594c1c36e9bf41624d11dab0a
This commit is contained in:
parent
f0b84cc200
commit
409d497eea
|
@ -950,7 +950,7 @@ int main(int argc, char **argv)
|
||||||
vty_init(&vty_info);
|
vty_init(&vty_info);
|
||||||
hnbtest_vty_init();
|
hnbtest_vty_init();
|
||||||
|
|
||||||
rc = telnet_init_dynif(NULL, NULL, vty_get_bind_addr(), 2324);
|
rc = telnet_init_default(NULL, NULL, 2324);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
perror("Error binding VTY port");
|
perror("Error binding VTY port");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
Loading…
Reference in New Issue