commit | d3b95b78abff1b8fb2c4e1b9c80ca290557e25b0 | [log] [download] |
---|---|---|
author | Marat Stanichenko <mstanichenko@openvz.org> | Wed May 06 14:35:34 2009 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed May 06 14:35:34 2009 +0400 |
tree | 259dd2caea0836a51e8a24e0a4e80b41a13e7442 | |
parent | fd1f576c98b8e50ea59ccbcba2a4939adfaa01ad [diff] |
Do not miss IPv6-only interfaces If a network interface doesn't contain any ipv4 address assigned, then vzgetnetdev() function doesn't add this interface to NETDEVICES. Fix the regex by adding an optional "6" after "inet", so now we look for both "inet" and "inet6". [kir@openvz.org: changelog, fix the regex to not match inet66]