From b1bfd4973aed3931ade9f212044c4c94451f6f77 Mon Sep 17 00:00:00 2001 From: Peter Holik Date: Wed, 6 Nov 2013 07:47:35 +0100 Subject: [PATCH] Make LCR compile, even if POTS/FXS is not supported by mISDN Signed-off-by: Andreas Eversberg --- mISDN.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mISDN.cpp b/mISDN.cpp index bb50a58..1431642 100644 --- 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; -- 2.13.6