Skip to content
Snippets Groups Projects
Commit c9506dec authored by Morris Jette's avatar Morris Jette
Browse files

switch/nrt: treat --network=ip the same as --network=ipv4

parent 7d125ca4
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@ SLURM_NETWORK environment variable. Supported network options include:</p>
<ul>
<li>Network protocol</li>
<ul>
<li><b>ip</b> Internet protocol, version 4</li>
<li><b>ipv4</b> Internet protocol, version 4 (default)</li>
<li><b>ipv6</b> Internet protocol, version 6</li>
<li><b>us</b> User Space protocol, may be combined with ibv4 or ipv6</li>
......
......@@ -498,6 +498,8 @@ extern int switch_p_build_jobinfo(switch_jobinfo_t *switch_job, char *nodelist,
}
/* network options */
} else if (!strcasecmp(token, "ip")) {
ip_v4 = true;
} else if (!strcasecmp(token, "ipv4")) {
ip_v4 = true;
} else if (!strcasecmp(token, "ipv6")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment