diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-09-24 17:03:23 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-09-24 17:03:23 +0200 |
| commit | d0841564920181743135f51ac4dcfe62deb27ef5 (patch) | |
| tree | 081fa4edbe63bc8b035992a398917c6f46cb4d33 /src/validators/interface-exists | |
| parent | ed218c254d964775ddf24158ac6520972d575faf (diff) | |
| download | vyos-1x-d0841564920181743135f51ac4dcfe62deb27ef5.tar.gz vyos-1x-d0841564920181743135f51ac4dcfe62deb27ef5.zip | |
dhcpv6-client: T9349: do not start dhcp6c in debug mode
dhcp6c was unconditionally started with -D (debug level 2). In daemon mode
setloglevel() only calls setlogmask() for levels 0 and 1 - level 2 falls
through and leaves the log mask wide open, so every LOG_DEBUG message ends
up in syslog:
dhcp6c[3935]: copy_option: set client ID (len 18)
dhcp6c[3935]: copyout_option: set identity association
dhcp6c[3935]: copy_option: set elapsed time (len 2)
dhcp6c[3935]: copy_option: set option request (len 4)
dhcp6c[3935]: client6_send: send solicit to ff02::1:2%wwan0
dhcp6c[3935]: dhcp6_reset_timer: reset a timer on wwan0, state=SOLICIT, ...
On a link where no DHCPv6 server answers this repeats for every SOLICIT
retransmission, forever. Drop the flag - errors and the parser diagnostics
used by the T7058 smoketest are logged at LOG_ERR and remain visible.
Diffstat (limited to 'src/validators/interface-exists')
0 files changed, 0 insertions, 0 deletions
