Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bird-rtrlib-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ static void pfx_update_callback(struct pfx_table *table,
write(bird_socket, bird_command, strlen(bird_command));

// Fetch the answer and log.
bird_response[read(bird_socket, bird_response, sizeof bird_response)] = 0;
bird_response[read(bird_socket, bird_response, sizeof(bird_response)-1)] = 0;
syslog(LOG_INFO, "From BIRD: %s", bird_response);
}

Expand Down