aboutsummaryrefslogtreecommitdiffstats
path: root/community/asterisk-chan-dongle/fix-autodisc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/asterisk-chan-dongle/fix-autodisc.patch')
-rw-r--r--community/asterisk-chan-dongle/fix-autodisc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/asterisk-chan-dongle/fix-autodisc.patch b/community/asterisk-chan-dongle/fix-autodisc.patch
new file mode 100644
index 0000000000..58dd7514bf
--- /dev/null
+++ b/community/asterisk-chan-dongle/fix-autodisc.patch
@@ -0,0 +1,11 @@
+--- asterisk-chan-dongle-e3bce3c1d43cec1e4f8e548b4d3880e289747b24.orig/pdiscovery.c
++++ asterisk-chan-dongle-e3bce3c1d43cec1e4f8e548b4d3880e289747b24/pdiscovery.c
+@@ -466,7 +466,7 @@
+ case STATE_CR1:
+ if(*str == '\n')
+ state++;
+- else
++ else if(*str != '\r')
+ state = STATE_BEGIN;
+ break;
+ case STATE_LF1: