move openflow to use subnets instead of addr for matches.

This commit is contained in:
Johanna Amann 2015-04-14 15:00:49 -07:00
parent 0e7ebffacf
commit c42fbdab12
5 changed files with 13 additions and 11 deletions

View file

@ -26,6 +26,8 @@ function to_json(v: any, only_loggable: bool &default=F, field_escape_pattern: p
return cat(port_to_count(to_port(cat(v))));
case "addr":
fallthrough;
case "subnet":
return cat("\"", v, "\"");
case "int":