Univention Bugzilla – Bug 33131
Support of VLAN, Bonding, Bridges: Fix interface name regular expressions
Last modified: 2017-07-26 14:39:12 CEST
+++ This bug was initially created as a clone of Bug #30816 +++ +++ This bug was initially created as a clone of Bug #28389 +++ Created attachment 5568 [details] I can't create a bridge named "dhcppt", which is flagged as invalid. I'm required to add a trailing "0". A bridge and bonding interface can be named arbitrarily. > re = /^(?![.]{1,2}$)[^/ \t\n\r\f]{1,15}$/; /^(?![.]{1,2}$)[^/ \t\n\r\f]{1,15}$/ > re.test('') false > re.test('.') false > re.test('..') false > re.test('...') true > re.test('....................................') false > re.test('eth0') true > re.test('.eth0') true
Applied rebased patch: r 80925 univention-system-setup (10.0.10-26) * Bug #33131: Applied patch from Philipp Hahn - Fix interface name regular expressions YAML: r 80926
OK: I could add a bridge named "dhcppt" OK: YAML (adjusted in r80978)
<http://errata.software-univention.de/ucs/4.2/109.html>