Skip to content

Commit 02712dd

Browse files
authored
Merge pull request #3 from athonet-open/revert-regex
fix
2 parents aa14d3c + 3636419 commit 02712dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

socket/socket.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var replyCodeExpr *regexp.Regexp
1212

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

1818
// BirdSocket represents a socket connection to bird daemon

0 commit comments

Comments
 (0)