diff options
-rw-r--r-- | ztcfg.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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"); |