~ubuntu-branches/ubuntu/quantal/lxc/quantal-201205292108

« back to all changes in this revision

Viewing changes to test/dev.c

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter
  • Date: 2009-07-25 12:24:30 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090725122430-dxv1wb7ds07fc0sk
Tags: 0.6.3-1
* New Upstream Version
* Remove duplicate build-dependency on autotools-dev
* Build depend on linux-libc-dev
* Disable checking of netlink headers from configure
  (currently fails under sid)
* Upgrade standards-version to 3.8.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
        }
61
61
 
62
62
        if (destroy)
63
 
                ret = device_delete(ifname);
 
63
                ret = lxc_device_delete(ifname);
64
64
        else if (!strcmp(flag, "up"))
65
 
                ret = device_up(ifname);
 
65
                ret = lxc_device_up(ifname);
66
66
        else if (!strcmp(flag, "down"))
67
 
                ret = device_down(ifname);
 
67
                ret = lxc_device_down(ifname);
68
68
 
69
69
        if (ret) {
70
70
                fprintf(stderr, "failed to set %s: %s\n",