[LEDE-DEV] Revamping ipcalc.sh
Etienne Champetier
champetier.etienne at gmail.com
Thu Apr 5 13:01:04 PDT 2018
Hi Philippe,
2018-04-05 16:31 GMT-03:00 Philip Prindeville
<philipp_subx at 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev
More information about the Lede-dev
mailing list