Skip to content
  • João Valverde's avatar
    dfilter: Handle missing error location more gracefully · 2f02cd6e
    João Valverde authored and João Valverde's avatar João Valverde committed
    If we don't have an offset, don't print anything with underline.
    
    Also it can underline filters using macros correctly now.
    
    $ tshark -Y 'ip and ${private_ipv4:ip.sr}' -r /dev/null
    tshark: Left side of "==" expression must be a field or function, not "ip.sr".
        ip and ip.sr == 192.168.0.0/16 or ip.sr == 172.16.0.0/12 or ip.sr == 10.0.0.0/8
               ^~~~~
    2f02cd6e