TWSD-1568: Show Startup Commands Not Displaying Output in AVX

Review Request #1315 — Created Jan. 19, 2026 and updated — Latest diff uploaded

ngurunathan
AVX2
rel_avx_2_7_5
TWSD-1568, TWSD-1601
bsrivalli, stevenku, wli

In this ticket, "show startup" command doesnt work when a regex is pssed to it. "show startup <regex>" (eg: "show startup system" gives empty output. Without passing regex, "show startup" works fine.

The issue is due to conflicting regcomp(), regfree() functions. Posix regcomp() function was previously used by "show startup" function before the introduction of ca_regex library. Due to the addition of ca_regex library which also had regcomp(), regfree() this issue ocurred. Renamed regcomp(), regcomp() functions in ca_regex and wherever it is used.

Also fixed "clear system mail" and "clear ha config" to update from_mail correctly.

AN(config)#sh startup system

Last configuration change at Fri Jan 16 14:43:28 2026 by array

system command timeout 120

system timezone configuration

system timezone "Asia/India/Kolkata"

system mail configuration

system mail from "%halert@log.domain"
system mail hostname "%l.alert_pseudo_domain" 0
system mail external off

system mail relay configuration

system mail relay off

    Loading...