On Wed, Aug 27, 2014 at 07:49:21PM +0200, Jo-Philipp Wich wrote:
> Hi,
> 
> yes there is a reason, the initial uci implementation was shell based
> and section names are part of generated variable names which must not
> contain dashes.

So, it shouldn't be necessary with the C implementation?

> Simply replacing dashes with underscores is not possible either as this
> would lead to ambiguous results.

Yes, I've got exactly this problem: the name of a section is supposed to
be a physical interface name.  But both "-" and "_" are valid characters
in the name of an interface on Linux, so it would be ambiguous to convert
one to the other.

> ~ Jow
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Attachment: pgpHvFt8mkUGg.pgp
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to