Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: c073c14723936edc6bd60dc8844036dc6d3c4c0c
      https://github.com/lxc/lxc/commit/c073c14723936edc6bd60dc8844036dc6d3c4c0c
  Author: Serge Hallyn <[email protected]>
  Date:   2013-12-17 (Tue, 17 Dec 2013)

  Changed paths:
    M src/lxc/lxc_user_nic.c

  Log Message:
  -----------
  lxc_user_nic changes

1. catch a case if allowed number of nics is 0 (as opposed to no entry),
which previously would have allowed the user to sneak in one entry.

2. return false, not true, if something went heywire with creating the
/sys/class/net/$nic path to open.

Signed-off-by: Serge Hallyn <[email protected]>


_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to