projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1cf9b35
)
Make LCR compile, even if POTS/FXS is not supported by mISDN
author
Peter Holik
<peter@holik.at>
Wed, 6 Nov 2013 06:47:35 +0000
(07:47 +0100)
committer
Andreas Eversberg
<jolly@eversberg.eu>
Wed, 6 Nov 2013 06:47:35 +0000
(07:47 +0100)
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
mISDN.cpp
patch
|
blob
|
history
diff --git
a/mISDN.cpp
b/mISDN.cpp
index
bb50a58
..
1431642
100644
(file)
--- a/
mISDN.cpp
+++ b/
mISDN.cpp
@@
-1818,10
+1818,12
@@
static int pots_sock_callback(struct lcr_fd *fd, unsigned int what, void *instan
case PH_CONTROL_IND:
cont = *((unsigned int *)(buffer + MISDN_HEADER_LEN));
/* l1-control is sent to LCR */
+#ifdef ISDN_P_FXS_POTS
if (mISDNport->ntmode)
stack2manager_fxs(mISDNport, cont);
else
PERROR("FXO not supported!\n");
+#endif
break;
case PH_ACTIVATE_REQ:
break;