well, you all seems to be very worry about that so here is working patch.

-----Original Message-----
From: Jason Mills <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: יום שלישי 14 דצמבר 1999 20:53
Subject: Re: Big problem on 2.0.x?


>heres a simple patch for the -s stuff just using the same method as with
>-l :)
>
>--- netkit-base-0.10/ping/ping.c.orig   Mon Dec 13 15:33:56 1999
>+++ netkit-base-0.10/ping/ping.c        Mon Dec 13 15:34:15 1999
>@@ -302,6 +302,11 @@
>                        options |= F_SO_DONTROUTE;
>                        break;
>                case 's':               /* size of packet to send */
>+                       if (!am_i_root) {
>+                               (void)fprintf(stderr,
>+                                   "ping: %s\n", strerror(EPERM));
>+                               exit(2);
>+                       }
>                        datalen = atoi(optarg);
>                        if (datalen > MAXPACKET) {
>                                (void)fprintf(stderr,

          Moran Zavdi
Warp Security Response Team.
       [EMAIL PROTECTED]



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to