On Mon, Apr 12, 2010 at 11:15:45AM +0400, Hizel Ildar wrote:
> ?? Mon, 12 Apr 2010 10:42:25 +0400
> "Andrey V. Elsukov" ??:
>
> > On 12.04.2010 10:07, Hizel Ildar wrote:
> > > Hey! I'm fix this bug :D
> > >
> > > patch:
> > >
> > > foo# diff -ruN main.c~ main.c
> > > --- main.c~ 2010-
В Mon, 12 Apr 2010 10:42:25 +0400
"Andrey V. Elsukov" пишет:
> On 12.04.2010 10:07, Hizel Ildar wrote:
> > Hey! I'm fix this bug :D
> >
> > patch:
> >
> > foo# diff -ruN main.c~ main.c
> > --- main.c~ 2010-03-04 19:54:56.0 +0300
> > +++ main.c 2010-04-12 09:37:21.0 +0400
On 12.04.2010 10:07, Hizel Ildar wrote:
Hey! I'm fix this bug :D
patch:
foo# diff -ruN main.c~ main.c
--- main.c~ 2010-03-04 19:54:56.0 +0300
+++ main.c 2010-04-12 09:37:21.0 +0400
@@ -553,7 +553,7 @@
}
while (fgets(buf, BUFSIZ, f)) { /* read
12.04.2010 10:07, Hizel Ildar пишет:
В Sun, 11 Apr 2010 11:23:59 +0400
Alex Keda пишет:
srv5# more /tmp/a.sh
table="24"
ipfw table $table flush
for octet3 in `jot - 1 60`
do
for octet4 in `jot - 1 254`
do
echo "table $table add 192.168.$octet3.$octet4">> /tmp/$$.txt
done
don
В Mon, 12 Apr 2010 10:07:56 +0400
Hizel Ildar пишет:
> В Sun, 11 Apr 2010 11:23:59 +0400
> Alex Keda пишет:
>
> > srv5# more /tmp/a.sh
> > table="24"
> > ipfw table $table flush
> > for octet3 in `jot - 1 60`
> > do
> > for octet4 in `jot - 1 254`
> >do
> > echo "table $table add 192
В Sun, 11 Apr 2010 11:23:59 +0400
Alex Keda пишет:
> srv5# more /tmp/a.sh
> table="24"
> ipfw table $table flush
> for octet3 in `jot - 1 60`
> do
> for octet4 in `jot - 1 254`
>do
> echo "table $table add 192.168.$octet3.$octet4" >> /tmp/$$.txt
>done
> done
> ipfw /tmp/$$.txt
> rm
srv5# more /tmp/a.sh
table="24"
ipfw table $table flush
for octet3 in `jot - 1 60`
do
for octet4 in `jot - 1 254`
do
echo "table $table add 192.168.$octet3.$octet4" >> /tmp/$$.txt
done
done
ipfw /tmp/$$.txt
rm -f /tmp/$$.txt
effect:
srv5# sh /tmp/a.sh
Abort trap (core dumped)
srv5#
srv5