diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2005-10-01 20:12:50 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2005-10-01 20:12:50 +0000 |
commit | cdc2cd0195ffac0996772d0dcec0d1535f16a2d8 (patch) | |
tree | 4c974920aa73e449c79f649a7c1713d5fe5b4400 /include | |
parent | 9d680cc0033cd96bfd31c933e808a79ebea32f2f (diff) | |
download | ebtables-cdc2cd0195ffac0996772d0dcec0d1535f16a2d8.tar.gz |
minor changes
Diffstat (limited to 'include')
-rw-r--r-- | include/ebtables_u.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ebtables_u.h b/include/ebtables_u.h index b725625..7a47782 100644 --- a/include/ebtables_u.h +++ b/include/ebtables_u.h @@ -298,14 +298,14 @@ struct ethertypeent *parseethertypebynumber(int type); #define ebt_to_chain(repl) \ ({struct ebt_u_entries *_ch = NULL; \ -if (repl->selected_chain != -1) \ +if (repl->selected_chain != -1) \ _ch = repl->chains[repl->selected_chain]; \ _ch;}) #define ebt_print_bug(format, args...) \ __ebt_print_bug(__FILE__, __LINE__, format, ##args) #define ebt_print_error(format,args...) __ebt_print_error(format, ##args); -#define ebt_print_error2(format, args...) {__ebt_print_error(format, ##args); \ - return -1;} +#define ebt_print_error2(format, args...) do {__ebt_print_error(format, ##args); \ + return -1;} while (0) #define ebt_check_option2(flags,mask) \ ({ebt_check_option(flags,mask); \ if (ebt_errormsg[0] != '\0') \ |