From 7decafc99af1cbc3f2e12ebe8f51993cc3a9994e Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Wed, 4 May 2011 21:06:26 +0000 Subject: [PATCH] Add --advertised-ip to defaults file. Bump debian version. --- debian/changelog | 6 ++++++ debian/ngcp-mediaproxy-ng-daemon.default | 1 + debian/ngcp-mediaproxy-ng-daemon.init | 1 + 3 files changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index 0dd2905..b12568f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ngcp-mediaproxy-ng (1.3.3) natty; urgency=low + + * Add --advertised-ip to defaults file. + + -- Andreas Granig Wed, 04 May 2011 23:05:46 +0200 + ngcp-mediaproxy-ng (1.3.2) unstable; urgency=low * Introduce --advertised-ip parameter diff --git a/debian/ngcp-mediaproxy-ng-daemon.default b/debian/ngcp-mediaproxy-ng-daemon.default index ca3ea0b..01ffc18 100644 --- a/debian/ngcp-mediaproxy-ng-daemon.default +++ b/debian/ngcp-mediaproxy-ng-daemon.default @@ -2,6 +2,7 @@ RUN_MEDIAPROXY=no LISTEN=25060 LISTEN_UDP=12222 # ADDRESS=... +# ADV_ADDRESS=... TIMEOUT=60 SILENT_TIMEOUT=3600 PIDFILE=/var/run/ngcp-mediaproxy-ng-daemon.pid diff --git a/debian/ngcp-mediaproxy-ng-daemon.init b/debian/ngcp-mediaproxy-ng-daemon.init index 21e5571..ae28a93 100755 --- a/debian/ngcp-mediaproxy-ng-daemon.init +++ b/debian/ngcp-mediaproxy-ng-daemon.init @@ -52,6 +52,7 @@ OPTIONS="" [ -z "$TOS" ] || OPTIONS="$OPTIONS --tos=$TOS" [ -z "$PORT_MIN" ] || OPTIONS="$OPTIONS --port-min=$PORT_MIN" [ -z "$PORT_MAX" ] || OPTIONS="$OPTIONS --port-max=$PORT_MAX" +[ -z "$ADV_ADDRESS" ] || OPTIONS="$OPTIONS --advertised-ip=$ADV_ADDRESS" OPTIONS="$OPTIONS --table=$TABLE" if test "$FORK" = "no" ; then OPTIONS="$OPTIONS --foreground"