From f52c844e1c1c66dbe26369e8e212718ca9e14ff7 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 19 Aug 2021 11:01:52 +0200 Subject: [PATCH] unix: add RTF_GLOBAL on darwin Fixes golang/go#45848 Change-Id: Iadd8499a66d5c5b7940df1477d88926f4b30cdb0 Reviewed-on: https://go-review.googlesource.com/c/sys/+/343509 Trust: Tobias Klauser Run-TryBot: Tobias Klauser TryBot-Result: Go Bot Reviewed-by: Matt Layher --- unix/zerrors_darwin_amd64.go | 1 + unix/zerrors_darwin_arm64.go | 1 + 2 files changed, 2 insertions(+) diff --git a/unix/zerrors_darwin_amd64.go b/unix/zerrors_darwin_amd64.go index 5bb48ef5..a3a45fec 100644 --- a/unix/zerrors_darwin_amd64.go +++ b/unix/zerrors_darwin_amd64.go @@ -1206,6 +1206,7 @@ const ( RTF_DONE = 0x40 RTF_DYNAMIC = 0x10 RTF_GATEWAY = 0x2 + RTF_GLOBAL = 0x40000000 RTF_HOST = 0x4 RTF_IFREF = 0x4000000 RTF_IFSCOPE = 0x1000000 diff --git a/unix/zerrors_darwin_arm64.go b/unix/zerrors_darwin_arm64.go index 11e57097..31009d7f 100644 --- a/unix/zerrors_darwin_arm64.go +++ b/unix/zerrors_darwin_arm64.go @@ -1206,6 +1206,7 @@ const ( RTF_DONE = 0x40 RTF_DYNAMIC = 0x10 RTF_GATEWAY = 0x2 + RTF_GLOBAL = 0x40000000 RTF_HOST = 0x4 RTF_IFREF = 0x4000000 RTF_IFSCOPE = 0x1000000