X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=tc%2Fm_ipt.c;h=1d73cb98895a363943831bf1ac1f972e13268521;hb=6f1940da8ec18288560579c8114efb32fc2425f0;hp=b48cc0a9c85f93e78b7b7ab5287098a117d2bfae;hpb=c14f9d92eee107fb9392ea262734cf430de5b571;p=mirror_iproute2.git diff --git a/tc/m_ipt.c b/tc/m_ipt.c index b48cc0a9..1d73cb98 100644 --- a/tc/m_ipt.c +++ b/tc/m_ipt.c @@ -299,9 +299,8 @@ static int parse_ipt(struct action_util *a, int *argc_p, int i; for (i = 0; i < rargc; i++) { - if (NULL == argv[i] || 0 == strcmp(argv[i], "action")) { + if (!argv[i] || strcmp(argv[i], "action") == 0) break; - } } iargc = argc = i; }