#18327: iptables problem with musl
---------------------------+---------------------------
Reporter: barbaracus@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Resolution: | Keywords: iptables musl
---------------------------+---------------------------
Comment (by anonymous):
Replying to [ticket:18327 barbaracus@…]:
>
> Also wrapping the getopt() calls in iptables in a helper function, say
xgetopt(), which takes care of the quotation mark could be an idea.
I've cooked up a patch (see the attachment).
It seems to work on glibc with POSIXLY_CORRECT enabled but I've yet to
test it on musl.
A similar patch would be needed for ip6tables.c
--
Ticket URL: <https://dev.openwrt.org/ticket/18327#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets