mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 11:08:20 +00:00
reading seems to work with all atomic types + records...
This commit is contained in:
parent
638976791e
commit
b5a77aa77b
2 changed files with 21 additions and 6 deletions
|
@ -216,7 +216,7 @@ bool InputReaderAscii::DoUpdate() {
|
|||
|
||||
case TYPE_SUBNET: {
|
||||
int pos = s.find("/");
|
||||
string width = s.substr(pos);
|
||||
string width = s.substr(pos+1);
|
||||
val->val.subnet_val.width = atoi(width.c_str());
|
||||
string addr = s.substr(0, pos);
|
||||
s = addr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue