summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ztcfg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ztcfg.c b/ztcfg.c
index 8bd07cb..48e9516 100644
--- a/ztcfg.c
+++ b/ztcfg.c
@@ -1131,6 +1131,9 @@ static void printconfig(int fd)
int configs=0;
struct zt_versioninfo vi;
+ strcpy(vi.version, "Unknown");
+ strcpy(vi.echo_canceller, "Unknown");
+
if (ioctl(fd, ZT_GETVERSION, &vi))
error("Unable to read Zaptel version information.\n");