Skip to content

Commit

Permalink
Merge pull request #229 from as215956/fix-version-message
Browse files Browse the repository at this point in the history
Fix version message
  • Loading branch information
natesales authored Jan 15, 2025
2 parents 1f285e9 + 1fc0596 commit c92c161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/bird/bird.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func RunCommand(command string, socket string) (string, string, error) {
log.Debugf("BIRD init response: %s", resp)

// Check BIRD version
birdVersion := strings.Split(resp, " ")[2]
birdVersion := strings.Split(resp, " ")[1]
if semver.Compare(birdVersion, supportedMin) == -1 {
log.Warnf("BIRD version %s older than minimum supported version %s", birdVersion, supportedMin)
}
Expand Down

0 comments on commit c92c161

Please sign in to comment.