Skip to content

Commit

Permalink
Merge pull request #3 from athonet-open/revert-regex
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
meox authored Aug 22, 2024
2 parents aa14d3c + 3636419 commit 02712dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion socket/socket.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var replyCodeExpr *regexp.Regexp

func init() {
// https://gitlab.nic.cz/labs/bird/-/blob/master/doc/reply_codes
replyCodeExpr = regexp.MustCompile(`(?m)^([0189][0-9]{3})`)
replyCodeExpr = regexp.MustCompile(`(?m)^([089][0-9]{3})`)
}

// BirdSocket represents a socket connection to bird daemon
Expand Down

0 comments on commit 02712dd

Please sign in to comment.