Add Erlang Public License compatibility notice
diff --git a/src/mgw_nat.erl b/src/mgw_nat.erl
index 6ebef98..00d0225 100644
--- a/src/mgw_nat.erl
+++ b/src/mgw_nat.erl
@@ -17,6 +17,20 @@
 %
 % You should have received a copy of the GNU Affero General Public License
 % along with this program.  If not, see <http://www.gnu.org/licenses/>.
+%
+% Additional Permission under GNU AGPL version 3 section 7:
+%
+% If you modify this Program, or any covered work, by linking or
+% combining it with runtime libraries of Erlang/OTP as released by
+% Ericsson on http://www.erlang.org (or a modified version of these
+% libraries), containing parts covered by the terms of the Erlang Public
+% License (http://www.erlang.org/EPLICENSE), the licensors of this
+% Program grant you additional permission to convey the resulting work
+% without the need to license the runtime libraries of Erlang/OTP under
+% the GNU Affero General Public License. Corresponding Source for a
+% non-source form of such a combination shall include the source code
+% for the parts of the runtime libraries of Erlang/OTP used as well as
+% that of the covered work.
 
 -module(mgw_nat).
 -author("Harald Welte <laforge@gnumonks.org>").
diff --git a/src/mgw_nat_act_bow_onw.erl b/src/mgw_nat_act_bow_onw.erl
index 2f8100c..f9bb1ff 100644
--- a/src/mgw_nat_act_bow_onw.erl
+++ b/src/mgw_nat_act_bow_onw.erl
@@ -17,6 +17,21 @@
 %
 % You should have received a copy of the GNU Affero General Public License
 % along with this program.  If not, see <http://www.gnu.org/licenses/>.
+%
+% Additional Permission under GNU AGPL version 3 section 7:
+%
+% If you modify this Program, or any covered work, by linking or
+% combining it with runtime libraries of Erlang/OTP as released by
+% Ericsson on http://www.erlang.org (or a modified version of these
+% libraries), containing parts covered by the terms of the Erlang Public
+% License (http://www.erlang.org/EPLICENSE), the licensors of this
+% Program grant you additional permission to convey the resulting work
+% without the need to license the runtime libraries of Erlang/OTP under
+% the GNU Affero General Public License. Corresponding Source for a
+% non-source form of such a combination shall include the source code
+% for the parts of the runtime libraries of Erlang/OTP used as well as
+% that of the covered work.
+
 
 -module(mgw_nat_act_bow_onw).
 -author("Harald Welte <laforge@gnumonks.org>").
@@ -27,14 +42,7 @@
 
 % Rewrite at SCTP (root) level:
 rewrite_actor(sctp, From, Path, 2, DataBin) ->
-	try mgw_nat:mangle_rx_data(From, Path, DataBin, fun rewrite_actor/5) of
-		Val ->
-			Val
-	catch error:Error ->
-		% some parser error, simply forward msg unmodified
-		io:format("MGW NAT mangling Error: ~p~n", [Error]),
-		DataBin
-	end;
+	mgw_nat:mangle_rx_data(From, Path, DataBin, fun rewrite_actor/5);
 
 % Rewrite at ISUP level:
 rewrite_actor(isup, From, Path, MsgType, IsupDec) ->
diff --git a/src/mgw_nat_act_vfuk_onw.erl b/src/mgw_nat_act_vfuk_onw.erl
index 1224bd4..58023cc 100644
--- a/src/mgw_nat_act_vfuk_onw.erl
+++ b/src/mgw_nat_act_vfuk_onw.erl
@@ -17,6 +17,20 @@
 %
 % You should have received a copy of the GNU Affero General Public License
 % along with this program.  If not, see <http://www.gnu.org/licenses/>.
+%
+% Additional Permission under GNU AGPL version 3 section 7:
+%
+% If you modify this Program, or any covered work, by linking or
+% combining it with runtime libraries of Erlang/OTP as released by
+% Ericsson on http://www.erlang.org (or a modified version of these
+% libraries), containing parts covered by the terms of the Erlang Public
+% License (http://www.erlang.org/EPLICENSE), the licensors of this
+% Program grant you additional permission to convey the resulting work
+% without the need to license the runtime libraries of Erlang/OTP under
+% the GNU Affero General Public License. Corresponding Source for a
+% non-source form of such a combination shall include the source code
+% for the parts of the runtime libraries of Erlang/OTP used as well as
+% that of the covered work.
 
 -module(mgw_nat_act_vfuk_onw).
 -author("Harald Welte <laforge@gnumonks.org>").
diff --git a/src/mgw_nat_adm.erl b/src/mgw_nat_adm.erl
index 3a97c7e..154e0c4 100644
--- a/src/mgw_nat_adm.erl
+++ b/src/mgw_nat_adm.erl
@@ -22,6 +22,20 @@
 %
 % You should have received a copy of the GNU Affero General Public License
 % along with this program.  If not, see <http://www.gnu.org/licenses/>.
+%
+% Additional Permission under GNU AGPL version 3 section 7:
+%
+% If you modify this Program, or any covered work, by linking or
+% combining it with runtime libraries of Erlang/OTP as released by
+% Ericsson on http://www.erlang.org (or a modified version of these
+% libraries), containing parts covered by the terms of the Erlang Public
+% License (http://www.erlang.org/EPLICENSE), the licensors of this
+% Program grant you additional permission to convey the resulting work
+% without the need to license the runtime libraries of Erlang/OTP under
+% the GNU Affero General Public License. Corresponding Source for a
+% non-source form of such a combination shall include the source code
+% for the parts of the runtime libraries of Erlang/OTP used as well as
+% that of the covered work.
 
 -module(mgw_nat_adm).
 -author("Harald Welte <laforge@gnumonks.org>").
diff --git a/src/mgw_nat_sup.erl b/src/mgw_nat_sup.erl
index 33ed1af..1fda947 100644
--- a/src/mgw_nat_sup.erl
+++ b/src/mgw_nat_sup.erl
@@ -17,6 +17,20 @@
 %
 % You should have received a copy of the GNU Affero General Public License
 % along with this program.  If not, see <http://www.gnu.org/licenses/>.
+%
+% Additional Permission under GNU AGPL version 3 section 7:
+%
+% If you modify this Program, or any covered work, by linking or
+% combining it with runtime libraries of Erlang/OTP as released by
+% Ericsson on http://www.erlang.org (or a modified version of these
+% libraries), containing parts covered by the terms of the Erlang Public
+% License (http://www.erlang.org/EPLICENSE), the licensors of this
+% Program grant you additional permission to convey the resulting work
+% without the need to license the runtime libraries of Erlang/OTP under
+% the GNU Affero General Public License. Corresponding Source for a
+% non-source form of such a combination shall include the source code
+% for the parts of the runtime libraries of Erlang/OTP used as well as
+% that of the covered work.
 
 -module(mgw_nat_sup).
 -behavior(supervisor).
diff --git a/src/mgw_nat_usr.erl b/src/mgw_nat_usr.erl
index 872bab1..f19491a 100644
--- a/src/mgw_nat_usr.erl
+++ b/src/mgw_nat_usr.erl
@@ -17,6 +17,20 @@
 %
 % You should have received a copy of the GNU Affero General Public License
 % along with this program.  If not, see <http://www.gnu.org/licenses/>.
+%
+% Additional Permission under GNU AGPL version 3 section 7:
+%
+% If you modify this Program, or any covered work, by linking or
+% combining it with runtime libraries of Erlang/OTP as released by
+% Ericsson on http://www.erlang.org (or a modified version of these
+% libraries), containing parts covered by the terms of the Erlang Public
+% License (http://www.erlang.org/EPLICENSE), the licensors of this
+% Program grant you additional permission to convey the resulting work
+% without the need to license the runtime libraries of Erlang/OTP under
+% the GNU Affero General Public License. Corresponding Source for a
+% non-source form of such a combination shall include the source code
+% for the parts of the runtime libraries of Erlang/OTP used as well as
+% that of the covered work.
 
 -module(mgw_nat_usr).
 -author("Harald Welte <laforge@gnumonks.org>").
diff --git a/src/sccp_masq.erl b/src/sccp_masq.erl
index 86369fd..ad38054 100644
--- a/src/sccp_masq.erl
+++ b/src/sccp_masq.erl
@@ -16,6 +16,20 @@
 %
 % You should have received a copy of the GNU Affero General Public License
 % along with this program.  If not, see <http://www.gnu.org/licenses/>.
+%
+% Additional Permission under GNU AGPL version 3 section 7:
+%
+% If you modify this Program, or any covered work, by linking or
+% combining it with runtime libraries of Erlang/OTP as released by
+% Ericsson on http://www.erlang.org (or a modified version of these
+% libraries), containing parts covered by the terms of the Erlang Public
+% License (http://www.erlang.org/EPLICENSE), the licensors of this
+% Program grant you additional permission to convey the resulting work
+% without the need to license the runtime libraries of Erlang/OTP under
+% the GNU Affero General Public License. Corresponding Source for a
+% non-source form of such a combination shall include the source code
+% for the parts of the runtime libraries of Erlang/OTP used as well as
+% that of the covered work.
 
 -module(sccp_masq).
 -author('Harald Welte <laforge@gnumonks.org>').
diff --git a/src/sctp_handler.erl b/src/sctp_handler.erl
index 09d6b41..2560d7a 100644
--- a/src/sctp_handler.erl
+++ b/src/sctp_handler.erl
@@ -18,7 +18,20 @@
 %
 % You should have received a copy of the GNU Affero General Public License
 % along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
+%
+% Additional Permission under GNU AGPL version 3 section 7:
+%
+% If you modify this Program, or any covered work, by linking or
+% combining it with runtime libraries of Erlang/OTP as released by
+% Ericsson on http://www.erlang.org (or a modified version of these
+% libraries), containing parts covered by the terms of the Erlang Public
+% License (http://www.erlang.org/EPLICENSE), the licensors of this
+% Program grant you additional permission to convey the resulting work
+% without the need to license the runtime libraries of Erlang/OTP under
+% the GNU Affero General Public License. Corresponding Source for a
+% non-source form of such a combination shall include the source code
+% for the parts of the runtime libraries of Erlang/OTP used as well as
+% that of the covered work.
 
 -module(sctp_handler).
 -author("Harald Welte <laforge@gnumonks.org>").