opal/util/net.c: remove stale comment
Also wrap a long "if" statement -- but make no code logic changes.
Этот коммит содержится в:
родитель
6ca57724c4
Коммит
0acec2b676
@ -161,10 +161,8 @@ opal_net_init(void)
|
|||||||
|
|
||||||
sscanf( arg, "%u.%u.%u.%u/%u", &a, &b, &c, &d, &bits );
|
sscanf( arg, "%u.%u.%u.%u/%u", &a, &b, &c, &d, &bits );
|
||||||
|
|
||||||
if( (a > 255) || (b > 255) || (c > 255) || (d > 255) || (bits > 32) ) {
|
if( (a > 255) || (b > 255) || (c > 255) ||
|
||||||
/* TODO: A reminder to change this to OPAL SOS once this framework
|
(d > 255) || (bits > 32) ) {
|
||||||
* get added to the trunk.
|
|
||||||
*/
|
|
||||||
if (0 == found_bad) {
|
if (0 == found_bad) {
|
||||||
opal_show_help("help-opal-util.txt",
|
opal_show_help("help-opal-util.txt",
|
||||||
"malformed net_private_ipv4",
|
"malformed net_private_ipv4",
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user