summaryrefslogtreecommitdiff
path: root/ztcfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'ztcfg.c')
-rw-r--r--ztcfg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ztcfg.c b/ztcfg.c
index 1c00231..06f9db1 100644
--- a/ztcfg.c
+++ b/ztcfg.c
@@ -571,6 +571,9 @@ static int chanconfig(char *keyword, char *args)
} else if (!strcasecmp(keyword, "dchan")) {
sig[x] = "D-channel";
cc[x].sigtype = ZT_SIG_HDLCFCS;
+ } else if (!strcasecmp(keyword, "hardhdlc")) {
+ sig[x] = "Hardware assisted D-channel";
+ cc[x].sigtype = ZT_SIG_HARDHDLC;
} else {
fprintf(stderr, "Huh? (%s)\n", keyword);
}
@@ -1091,6 +1094,7 @@ static struct handler {
{ "rawhdlc", chanconfig },
{ "nethdlc", chanconfig },
{ "fcshdlc", chanconfig },
+ { "hardhdlc", chanconfig },
{ "dchan", chanconfig },
{ "bchan", chanconfig },
{ "indclear", chanconfig },