aboutsummaryrefslogtreecommitdiff
path: root/networking/tc.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/tc.c')
-rw-r--r--networking/tc.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/networking/tc.c b/networking/tc.c
index 6e31074f4..03f57f637 100644
--- a/networking/tc.c
+++ b/networking/tc.c
@@ -508,15 +508,13 @@ int tc_main(int argc UNUSED_PARAM, char **argv)
508 if ((slash = strchr(handle, '/')) != NULL) 508 if ((slash = strchr(handle, '/')) != NULL)
509 *slash = '\0'; 509 *slash = '\0';
510 */ 510 */
511 if (get_u32(&msg.tcm_handle, *argv, 0)) 511 msg.tcm_handle = get_u32(*argv, "handle");
512 invarg(*argv, "handle"); 512 /* if (slash) {if (get_u32(__u32 &mask, slash+1, NULL)) inv mask; addattr32(n, MAX_MSG, TCA_FW_MASK, mask); */
513 /* if (slash) {if (get_u32(__u32 &mask, slash+1,0)) inv mask;addattr32(n, MAX_MSG, TCA_FW_MASK, mask); */
514 } else if (arg == ARG_classid && obj == OBJ_class && cmd == CMD_change){ 513 } else if (arg == ARG_classid && obj == OBJ_class && cmd == CMD_change){
515 } else if (arg == ARG_pref || arg == ARG_prio) { /* filter::list */ 514 } else if (arg == ARG_pref || arg == ARG_prio) { /* filter::list */
516 if (filter_prio) 515 if (filter_prio)
517 duparg(*argv, "priority"); 516 duparg(*argv, "priority");
518 if (get_u32(&filter_prio, *argv, 0)) 517 filter_prio = get_u32(*argv, "priority");
519 invarg(*argv, "priority");
520 } else if (arg == ARG_proto) { /* filter::list */ 518 } else if (arg == ARG_proto) { /* filter::list */
521 __u16 tmp; 519 __u16 tmp;
522 if (filter_proto) 520 if (filter_proto)