[ekiga] Migrate the first port of UDP port ranges from 5060 to 5061
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Migrate the first port of UDP port ranges from 5060 to 5061
- Date: Thu, 27 Dec 2012 15:42:03 +0000 (UTC)
commit 3a6d61b6159bc6d4035fe4f803be2f75b8e67146
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Thu Dec 27 16:40:13 2012 +0100
Migrate the first port of UDP port ranges from 5060 to 5061
See bug #690621.
src/gui/conf.cpp | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/conf.cpp b/src/gui/conf.cpp
index cea9fa0..a95cd9e 100644
--- a/src/gui/conf.cpp
+++ b/src/gui/conf.cpp
@@ -213,4 +213,14 @@ gnomemeeting_conf_upgrade ()
g_slist_free (old_values);
gm_conf_set_string_list (PERSONAL_DATA_KEY "dnd_custom_status", NULL);
}
+
+ // migrate first port in UDP port ranges from 5060 to 5061, see bug #690621
+ if (version >= 0 && version <= 4000) {
+ gchar *ports = gm_conf_get_string (PORTS_KEY "udp_port_range");
+ if (ports && !strncmp (ports, "5060", 4)) {
+ ports[3] = '1';
+ gm_conf_set_string (PORTS_KEY "udp_port_range", ports);
+ }
+ g_free (ports);
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]