| 271 | } |
| 272 | |
| 273 | CommandResponse ExactMatch::CommandAdd( |
| 274 | const bess::pb::ExactMatchCommandAddArg &arg) { |
| 275 | Error ret = AddRule(arg); |
| 276 | if (ret.first) { |
| 277 | return CommandFailure(ret.first, "%s", ret.second.c_str()); |
| 278 | } |
| 279 | |
| 280 | return CommandSuccess(); |
| 281 | } |
| 282 | |
| 283 | CommandResponse ExactMatch::CommandDelete( |
| 284 | const bess::pb::ExactMatchCommandDeleteArg &arg) { |
nothing calls this directly
no test coverage detected