Hi Philippe, 2018-04-05 16:31 GMT-03:00 Philip Prindeville <philipp_s...@redfish-solutions.com>: > Hi all, > > What do people think of (a) rewriting ipcalc.sh to be in C instead, and (b) > allowing it to perform multiple operations either with flags or perhaps with > symlinks and examining argv[0] a la busybox? > > It isn’t used in too many places so any sort of change won’t have too many > repercussions.
Haven't looked at what OpenWRT ipcalc.sh is doing, but there is a busybox implementation of ipcalc https://git.busybox.net/busybox/tree/networking/ipcalc.c Maybe you want to start with that ? Cheers Etienne > > -Philip > > > _______________________________________________ > Lede-dev mailing list > Lede-dev@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/lede-dev _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev