mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-09-03 20:21:47 +00:00
tiny fix
This commit is contained in:
+1
-1
@@ -1028,7 +1028,7 @@ static int hyper_parse_white_cidrs(struct hyper_pod *pod, char *json, jsmntok_t
|
||||
i++;
|
||||
for (j = 0; j < pod->w_num; j++, i++) {
|
||||
pod->white_cidrs[j] = (json_token_str(json, &toks[i]));
|
||||
fprintf(stdout, "pod white_cidr %d: %s\n", j, pod->dns[j]);
|
||||
fprintf(stdout, "pod white_cidr %d: %s\n", j, pod->white_cidrs[j]);
|
||||
}
|
||||
|
||||
return i;
|
||||
|
||||
@@ -239,6 +239,7 @@ void hyper_cleanup_portmapping(struct hyper_pod *pod)
|
||||
int i = 0;
|
||||
for(i=0; i< sizeof(rules)/sizeof(struct ipt_rule); i++) {
|
||||
if (hyper_setup_iptables_rule(rules[i])<0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user