Commit f42a3c2a authored by Peter Pentchev's avatar Peter Pentchev

p6: allow dashes, slashes, and dots in an interface name.

parent 14730bd2
Change log for ethstats, the network traffic statistics utility
1.2.0 not yet ;)
- fix a Perl 6 bug: allow the ".", "/", and "-" characters in
an interface name
1.1.1 2015/12/28
- fix a grave bug I introduced in 1.1.0: get the correct value
......
......@@ -131,7 +131,7 @@ grammar Interfaces {
rule in {<bytes> <packets> <errs> <drop> <fifo> <frame> <compressed> <multicast>}
rule out {<bytes> <packets> <errs> <drop> <fifo> <colls> <carrier> <compressed>}
token iface { \w+ }
token iface { <[ \w . / - ]>+ }
token bytes { <uint> }
token packets { <uint> }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment