mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00

Instead, the `addr_to_uri` script-level function can be used to explicitly add brackets to an address if it's IPv6 and will be included in a URI or when a ":<port>" needs to be appended to it.
20 lines
294 B
Text
20 lines
294 B
Text
==== atomic
|
|
-10
|
|
2
|
|
1336411585.166009
|
|
2.0 mins
|
|
F
|
|
1.5
|
|
Servus
|
|
5555/tcp
|
|
6.7.6.5
|
|
2001:db8:85a3::8a2e:370:7334
|
|
192.168.0.0/16
|
|
2001:db8:85a3::/48
|
|
==== record
|
|
[a=42, b=6.6.7.7]
|
|
42, 6.6.7.7
|
|
==== coerced record
|
|
[one=<uninitialized>, a=13, b=<uninitialized>, c=helloworld, d=<uninitialized>]
|
|
13
|
|
helloworld
|