]> git.sur5r.net Git - ngadmin/blobdiff - cli/src/common.c
Add error codes to handle bad replies and unknown errors
[ngadmin] / cli / src / common.c
index 80f3f522fc048981c595f2ad1d126c251cfb9c58..7d35301eff059d4445435e0b540643126d877ac5 100644 (file)
@@ -40,6 +40,14 @@ void printErrCode (int err)
                printf("not implemented\n");
                break;
        
+       case ERR_BADREPLY:
+               printf("bad reply from switch\n");
+               break;
+       
+       case ERR_UNKNOWN:
+               printf("unknown error\n");
+               break;
+       
        default:
                printf("unknown status code (%i)\n", err);
        }