Fix: Correctly forward facility IE content
authorAndreas Eversberg <jolly@eversberg.eu>
Sun, 6 Jan 2013 05:33:56 +0000 (06:33 +0100)
committerAndreas Eversberg <jolly@eversberg.eu>
Sun, 6 Jan 2013 05:33:56 +0000 (06:33 +0100)
dss1.cpp

index 00bdb06..c4a0aa4 100644 (file)
--- a/dss1.cpp
+++ b/dss1.cpp
@@ -1685,7 +1685,7 @@ void Pdss1::facility_ind(unsigned int cmd, unsigned int pid, struct l3_msg *l3m)
 
        message = message_create(p_serial, ACTIVE_EPOINT(p_epointlist), PORT_TO_EPOINT, MESSAGE_FACILITY);
        message->param.facilityinfo.len = fac_len;
-       memcpy(message->param.facilityinfo.data, fac_ie, fac_len);
+       memcpy(message->param.facilityinfo.data, fac_ie + 1, fac_len);
        message_put(message);
 }