]> andersk Git - moira.git/blobdiff - clients/stella/stella.c
Change SNET_STATUS_PRIVATE to SNET_STATUS_PRIVATE_10MBPS and
[moira.git] / clients / stella / stella.c
index dbf43471abe492e6b69b464884bfbae274286c6a..f7aa0ae0987df11582fbb2c6700383881d0f918f 100644 (file)
@@ -694,7 +694,8 @@ int main(int argc, char **argv)
     status = wrap_mr_query("get_subnet", 1, args, store_host_info, argv);
     if (status)
       com_err(whoami, status, "while getting subnet information");
-    if (atoi(argv[SN_STATUS]) == SNET_STATUS_PRIVATE)
+    if (atoi(argv[SN_STATUS]) == SNET_STATUS_PRIVATE_10MBPS ||
+       atoi(argv[SN_STATUS]) == SNET_STATUS_PRIVATE_100MBPS)
       {
        fprintf(stderr, "\nWarning:  This host is on a private subnet.\n");
        fprintf(stderr, "Billing information shown is superceded by billing information for the subnet.\n");
This page took 0.086322 seconds and 4 git commands to generate.