[BusyBox] ipcalc net prefix patch
Joshua Jackson
busybox at vortech.net
Thu Sep 4 02:32:00 MDT 2003
On Tuesday 02 September 2003 3:02 am, Glenn McGrath wrote:
> On Mon, 1 Sep 2003 14:52:11 -0400
>
> Joshua Jackson <busybox at vortech.net> wrote:
> > Any chance of this getting added? It adds the ability to use and
> > calculate network prefix specifications instead of netmasks. It also
> > fixes the parameters for network and netmask to match that of the
> > official Red Hat version (-n for network and -m for netmask).
>
> Ive checked this in, however i added the prefix option to the fancy ipcalc.
Good enough :) Thanks a bunch.
One other small issue... I had submitted a patch to swith the default passwd
algo to MD5 a while back. Most of which got applied, but there is still a
bit of a bug. Unless the following patch is applied as well, it will still
default to DES unless the "-a" parameter is specified.
--- passwd.c.orig 2003-09-04 01:29:43.000000000 -0400
+++ passwd.c 2003-09-04 01:29:53.000000000 -0400
@@ -140,7 +140,7 @@
char *name;
char *myname;
int flag;
- int algo = 0; /* -a - password algorithm */
+ int algo = 1; /* -a - password algorithm */
int lflg = 0; /* -l - lock account */
int uflg = 0; /* -u - unlock account */
int dflg = 0; /* -d - delete password */
--
Joshua Jackson
Vortech Consulting, LLC
http://www.vortech.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://busybox.net/lists/busybox/attachments/20030904/433bdcf9/attachment.pgp
More information about the busybox
mailing list