~ubuntu-branches/ubuntu/quantal/iproute/quantal

« back to all changes in this revision

Viewing changes to tc/q_drr.c

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2011-11-23 22:15:38 UTC
  • mfrom: (1.1.14) (23.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20111123221538-vle47e8mp5375ruq
Tags: 20111117-1
* Imported Upstream version 3.1.0 (aka snapshot 20111117)
* Update download location in debian/copyright
  - tarballs now available from kernel.org
* Drop debian/patches/xt-v6.diff, fixed upstream.
* Refresh patches: debian/patches/moo.diff and txtdocs.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
static int drr_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n)
38
38
{
39
 
        while (argc > 0) {
 
39
        while (argc) {
40
40
                if (strcmp(*argv, "help") == 0) {
41
41
                        explain();
42
42
                        return -1;
45
45
                        explain();
46
46
                        return -1;
47
47
                }
48
 
                argc--; argv++;
49
48
        }
50
49
        return 0;
51
50
}