diff --git a/socket/socket.go b/socket/socket.go index fe4040b..db44a1e 100644 --- a/socket/socket.go +++ b/socket/socket.go @@ -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