Hi All,
I have a simple doubt: are these snippets the same?
*One:*
secf_check_country($hdr(X-SRC-IP-CC));
$var(secf_cc_rc) = $rc;
if ($var(secf_cc_rc) == -2) {
...
*Two:*
$var(secf_cc_rc) = secf_check_country($hdr(X-SRC-IP-CC));
if ($var(secf_cc_rc) == -2) {
...
They both seem to work, the docs say to use option -one-.
In case they do the same, is there a reason I should pick one over the
other? Or is this purely cosmetic?
Thanks,
Joel.