comparison rvinterf/tmsh/l1cmd.c @ 287:92c982f67247

fc-tmsh converted to link with librftab
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Nov 2017 00:32:16 +0000
parents cae9cb333c2c
children
comparison
equal deleted inserted replaced
286:88a4ebed160d 287:92c982f67247
313 313
314 if (keyword_or_num(argv[1], rf_table_arg, &index)) 314 if (keyword_or_num(argv[1], rf_table_arg, &index))
315 return(ERROR_USAGE); 315 return(ERROR_USAGE);
316 cmdpkt[1] = RF_TABLE_WRITE; 316 cmdpkt[1] = RF_TABLE_WRITE;
317 cmdpkt[2] = index; 317 cmdpkt[2] = index;
318 rc = read_rf_table(argv[2], cmdpkt + 3, &format, &size); 318 rc = read_rf_table_ext(argv[2], cmdpkt + 3, 0, &format, &size);
319 if (rc) 319 if (rc)
320 return(rc); 320 return(rc);
321 if (argc > 3) { 321 if (argc > 3) {
322 if (strcmp(argv[3], "force")) { 322 if (strcmp(argv[3], "force")) {
323 printf("error: unexpected 3rd argument\n"); 323 printf("error: unexpected 3rd argument\n");