1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-10 01:22:48 +03:00

add check for invalid ip address of 128.0.0.1

This commit is contained in:
david hill
2016-06-29 10:48:53 -05:00
parent f01c8bcadc
commit f5f09693f2

View File

@@ -1867,7 +1867,7 @@ int main(int argc, char *argv[])
callFree(pcommand);
}
if (newModuleIPAddr == "127.0.0.1" || newModuleIPAddr == "0.0.0.0") {
if (newModuleIPAddr == "127.0.0.1" || newModuleIPAddr == "0.0.0.0" || || newModuleIPAddr == "128.0.0.1") {
cout << endl << newModuleIPAddr + " is an Invalid IP Address for a multi-server system, please re-enter" << endl << endl;
newModuleIPAddr = "unassigned";
if ( noPrompting )