Skip to content

Commit 3ea34a0

Browse files
authored
Merge pull request FRRouting#18271 from cscarpitta/fix/fix_valgrind_error
staticd: Do not log uninitialized `nexthop` variable
2 parents 598eaf3 + a138ce5 commit 3ea34a0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

staticd/static_nb_config.c

-1
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,6 @@ int routing_control_plane_protocols_control_plane_protocol_staticd_segment_routi
12961296

12971297
switch (args->event) {
12981298
case NB_EV_VALIDATE:
1299-
zlog_info("validating nexthop %pI6", &nexthop.ipaddr_v6);
13001299
yang_dnode_get_ip(&nexthop, args->dnode, "../next-hop");
13011300
if (!IS_IPADDR_V6(&nexthop)) {
13021301
snprintf(args->errmsg, args->errmsg_len,

0 commit comments

Comments
 (0)