| 2070 | } |
| 2071 | |
| 2072 | int |
| 2073 | table_check_name(const char *tablename) |
| 2074 | { |
| 2075 | |
| 2076 | if (ipfw_check_object_name(tablename) != 0) |
| 2077 | return (EINVAL); |
| 2078 | /* Restrict some 'special' names */ |
| 2079 | if (strcmp(tablename, "all") == 0) |
| 2080 | return (EINVAL); |
| 2081 | return (0); |
| 2082 | } |
| 2083 |
no test coverage detected