pfctl
- From: "Earl Lapus" <earl.lapus@xxxxxxxxx>
- Date: Mon, 27 Nov 2006 18:03:25 +0800
hi,
I was browsing through some code and stumbled upon this:
...
if ((opts->rtsc_m1 < opts->rtsc_m2 && opts->rtsc_m1 != 0) ||
(opts->rtsc_m1 < opts->rtsc_m2 && opts->rtsc_m1 != 0) ||
(opts->rtsc_m1 < opts->rtsc_m2 && opts->rtsc_m1 != 0)) {
warnx("m1 must be zero for convex curve: %s", pa->qname);
return (-1);
}
...
would it be safe to change it to:
...
if (opts->rtsc_m1 < opts->rtsc_m2 && opts->rtsc_m1 != 0) {
warnx("m1 must be zero for convex curve: %s", pa->qname);
return (-1);
}
...
-OR- is there something between those lines that I'm missing.
The piece of code that I'm referring to is found in
/usr/src/contrtib/pf/pfctl/pfctl_altq.c
--
There are seven words in this sentence.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: pfctl
- From: Vasil Dimov
- Re: pfctl
- Prev by Date: Re: iSCSI/shutdown advice needed
- Next by Date: vn_fullpath question.
- Previous by thread: Announce: FreeSBIE 2.0-RC1 is available
- Next by thread: Re: pfctl
- Index(es):