]> git.proxmox.com Git - proxmox-backup.git/commit - src/config/network.rs
Fix #2926: parse_iface_attributes: always break on non-{attribitue, comment} token
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 13 Aug 2020 13:04:12 +0000 (15:04 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 14 Aug 2020 04:57:07 +0000 (06:57 +0200)
commit87c4cb74196a5bb58013c124e1975cfba1f26a9f
tree4333c32f757af5698c2bec276cb16e5d6a3e92e2
parent93bb51fe7e008d0ee0470c53c821c80316841aa8
Fix #2926: parse_iface_attributes: always break on non-{attribitue, comment} token

There is no requirement to have at least
a blank line, attribute or comment in between two
interface definitions, e.g.
iface lo inet loopback
iface lo inet6 loopback

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
src/config/network.rs
src/config/network/parser.rs