mirror of https://github.com/garabik/grc.git
fix ping colours ordering
This commit is contained in:
parent
18c9683708
commit
bb1f123b37
18
conf.ping
18
conf.ping
|
@ -1,19 +1,19 @@
|
||||||
# ip number
|
# name
|
||||||
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
|
regexp=(?:[fF]rom|PING)\s(\S+)\s
|
||||||
colours=bright_blue
|
colours=default,blue
|
||||||
=======
|
=======
|
||||||
# ipv6 number
|
# ipv6 number
|
||||||
regexp=(([0-9a-fA-F]{1,4})?\:\:?[0-9a-fA-F]{1,4})+
|
regexp=(([0-9a-fA-F]{1,4})?\:\:?[0-9a-fA-F]{1,4})+
|
||||||
colours=magenta
|
colours=magenta
|
||||||
=======
|
=======
|
||||||
|
# ip number, optional port
|
||||||
|
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(\:[0-9]{1,5})?
|
||||||
|
colours=bright_blue
|
||||||
|
=======
|
||||||
# icmp_seq=#
|
# icmp_seq=#
|
||||||
regexp=icmp_seq=(\d+)
|
regexp=icmp_seq=(\d+)
|
||||||
colours=default,yellow
|
colours=default,yellow
|
||||||
=======
|
=======
|
||||||
# name
|
|
||||||
regexp=(?:[fF]rom|PING)\s(\S+)\s
|
|
||||||
colours=default,blue
|
|
||||||
=======
|
|
||||||
# time
|
# time
|
||||||
regexp=([0-9\.]+)\s?ms
|
regexp=([0-9\.]+)\s?ms
|
||||||
colours=default,green
|
colours=default,green
|
||||||
|
@ -45,4 +45,8 @@ colours=default,bright_yellow,bright_blue,bright_red,bright_magenta
|
||||||
# these are good for nping
|
# these are good for nping
|
||||||
regexp=SENT|RCVD
|
regexp=SENT|RCVD
|
||||||
colours=red
|
colours=red
|
||||||
|
-
|
||||||
|
# nping
|
||||||
|
regexp=unreachable
|
||||||
|
colours=red
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue