Commit 4f239088 authored by Daryl Herzmann's avatar Daryl Herzmann Committed by akrherz

don't allow ips to be CHOOSE, refs #OF-518


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@12971 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8c9a189c
......@@ -38,6 +38,9 @@
if (ip1 == ip2) {
msg += "<fmt:message key="stun.settings.alert.notvalidip" />";
}
if (ip1 == 'CHOOSE' || ip2 == 'CHOOSE') {
msg += "<fmt:message key="stun.settings.alert.notvalidip" />";
}
if (port1 == port2) {
if (msg != "") msg += "\n";
msg += "<fmt:message key="stun.settings.alert.notvalidip" />";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment