Ipv6 literal fixes by pv2b · Pull Request #11561 · fluent/fluent-bit

Fluent Bit v5.0.0
* Copyright (C) 2015-2025 The Fluent Bit Authors
* Fluent Bit is a CNCF graduated project under the Fluent organization
* https://fluentbit.io

______ _                  _    ______ _ _           _____  _____           _            
|  ___| |                | |   | ___ (_) |         |  ___||  _  |         | |           
| |_  | |_   _  ___ _ __ | |_  | |_/ /_| |_  __   _|___ \ | |/' |______ __| | _____   __
|  _| | | | | |/ _ \ '_ \| __| | ___ \ | __| \ \ / /   \ \|  /| |______/ _` |/ _ \ \ / /
| |   | | |_| |  __/ | | | |_  | |_/ / | |_   \ V //\__/ /\ |_/ /     | (_| |  __/\ V / 
\_|   |_|\__,_|\___|_| |_|\__| \____/|_|\__|   \_/ \____(_)\___/       \__,_|\___| \_/


[2026/03/15 12:22:39.447] [ info] [fluent bit] version=5.0.0, commit=1ee3148cc4, pid=57010
[2026/03/15 12:22:39.448] [ info] [storage] ver=1.5.4, type=memory, sync=normal, checksum=off, max_chunks_up=128
[2026/03/15 12:22:39.448] [ info] [simd    ] disabled
[2026/03/15 12:22:39.448] [ info] [cmetrics] version=2.0.2
[2026/03/15 12:22:39.448] [ info] [ctraces ] version=0.7.0
[2026/03/15 12:22:39.448] [ info] [input:syslog:syslog.0] initializing
[2026/03/15 12:22:39.448] [ info] [input:syslog:syslog.0] storage_strategy='memory' (memory only)
[2026/03/15 12:22:39.448] [ info] [in_syslog] UDP server binding :::5140
[2026/03/15 12:22:39.448] [ info] [sp] stream processor started
[2026/03/15 12:22:39.448] [ info] [engine] Shutdown Grace Period=5, Shutdown Input Grace Period=2
[2026/03/15 12:22:39.448] [ info] [output:stdout:stdout.0] worker #0 started
[0] syslog: [[1773577377.055672000, {}], {"pri"=>"13", "time"=>"2026-03-15T12:22:57.055672+00:00", "host"=>"ace7e86ecd9f", "ident"=>"fluent-bit", "pid"=>"-", "msgid"=>"-", "extradata"=>"[timeQuality tzKnown="1" isSynced="1" syncAccuracy="459500"]", "message"=>"test ipv6", "source"=>"udp://[::1]:55505"}]
[0] syslog: [[1773577379.058750000, {}], {"pri"=>"13", "time"=>"2026-03-15T12:22:59.058750+00:00", "host"=>"ace7e86ecd9f", "ident"=>"fluent-bit", "pid"=>"-", "msgid"=>"-", "extradata"=>"[timeQuality tzKnown="1" isSynced="1" syncAccuracy="460500"]", "message"=>"test ipv4", "source"=>"udp://127.0.0.1:50427"}]