]> git.ipfire.org Git - thirdparty/lxc.git/commit
fix: unprivileged veth devices (e.g. vethFWABHX) never contain 'Z' character in the... 2774/head
authorhn <hn@users.noreply.github.com>
Mon, 7 Jan 2019 18:42:02 +0000 (19:42 +0100)
committerhn <hn@users.noreply.github.com>
Tue, 8 Jan 2019 08:04:55 +0000 (09:04 +0100)
commit8523344a390f6e6c6707358b84f27ab59a891b2c
tree21c3f1f3ceffc5f95850f3cd9386f6b00343a93a
parent688e8982bced7f7bbfdc8a646a852890544917a4
fix: unprivileged veth devices (e.g. vethFWABHX) never contain 'Z' character in the randomly generated device name part because for modulo one does not need to substract 1 from strlen().

Signed-off-by: Hajo Noerenberg <hajo-github@noerenberg.de>
src/lxc/network.c