Add etherTypes to netconf response.

This commit is contained in:
Adam Ierymenko 2013-08-28 15:25:49 -04:00
parent 3745377872
commit 8e1b897f0a
2 changed files with 14 additions and 2 deletions

View file

@ -263,7 +263,7 @@ Filter::Filter(const char *s)
throw std::invalid_argument("filter string too long");
char *saveptr = (char *)0;
unsigned int fn = 0;
for(char *f=Utils::stok(tmp,"-",&saveptr);(f);f=Utils::stok((char *)0,"-",&saveptr)) {
for(char *f=Utils::stok(tmp,",",&saveptr);(f);f=Utils::stok((char *)0,",",&saveptr)) {
try {
_rules.push_back(Rule(f));
++fn;