2021-01-15 21:29:14 +00:00
|
|
|
From 67a4711d09c6595c17f32470c15bf471c287777d Mon Sep 17 00:00:00 2001
|
2017-01-20 13:51:16 +00:00
|
|
|
From: Michael Munday <munday@ca.ibm.com>
|
|
|
|
Date: Tue, 17 Jan 2017 11:33:38 -0500
|
2018-05-03 09:11:48 +00:00
|
|
|
Subject: [PATCH 2/3] syscall: expose IfInfomsg.X__ifi_pad on s390x
|
2017-01-20 13:51:16 +00:00
|
|
|
|
|
|
|
Exposing this field on s390x improves compatibility with the other
|
|
|
|
linux architectures, all of which already expose it.
|
|
|
|
|
|
|
|
Fixes #18628 and updates #18632.
|
|
|
|
|
|
|
|
Change-Id: I08e8e1eb705f898cd8822f8bee0d61ce11d514b5
|
|
|
|
---
|
2018-05-03 09:11:48 +00:00
|
|
|
src/syscall/ztypes_linux_s390x.go | 12 ++++++------
|
|
|
|
1 file changed, 6 insertions(+), 6 deletions(-)
|
2017-01-20 13:51:16 +00:00
|
|
|
|
|
|
|
diff --git a/src/syscall/ztypes_linux_s390x.go b/src/syscall/ztypes_linux_s390x.go
|
2021-01-15 21:29:14 +00:00
|
|
|
index 91f5ceff20..59a8b1fccd 100644
|
2017-01-20 13:51:16 +00:00
|
|
|
--- a/src/syscall/ztypes_linux_s390x.go
|
|
|
|
+++ b/src/syscall/ztypes_linux_s390x.go
|
2018-05-03 09:11:48 +00:00
|
|
|
@@ -449,12 +449,12 @@ type RtAttr struct {
|
2017-01-20 13:51:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type IfInfomsg struct {
|
|
|
|
- Family uint8
|
|
|
|
- _ uint8
|
|
|
|
- Type uint16
|
|
|
|
- Index int32
|
|
|
|
- Flags uint32
|
|
|
|
- Change uint32
|
|
|
|
+ Family uint8
|
|
|
|
+ X__ifi_pad uint8
|
|
|
|
+ Type uint16
|
|
|
|
+ Index int32
|
|
|
|
+ Flags uint32
|
|
|
|
+ Change uint32
|
|
|
|
}
|
|
|
|
|
|
|
|
type IfAddrmsg struct {
|
2018-05-03 09:11:48 +00:00
|
|
|
--
|
2021-01-15 21:29:14 +00:00
|
|
|
2.26.2
|
2018-05-03 09:11:48 +00:00
|
|
|
|