tests: use lib memory allocation

Signed-off-by: Lou Berger <lberger@labn.net>
This commit is contained in:
Lou Berger 2017-01-27 09:16:43 -05:00
parent fd7aa3f557
commit 56c8423f58

View File

@ -72,7 +72,7 @@ main (int argc, char **argv)
/* Library inits. */
cmd_init (1);
host.name = strdup ("test");
host.name = XSTRDUP(MTYPE_HOST,"test");
vty_init (master);
memory_init ();