0dbd49fdd7
expose IfInfomsg.X__ifi_pad on s390x
37 lines
912 B
Diff
37 lines
912 B
Diff
From 84b8c9ceaa5257f7ff4ab059ff208246ecdfe9d9 Mon Sep 17 00:00:00 2001
|
|
From: Michael Munday <munday@ca.ibm.com>
|
|
Date: Tue, 17 Jan 2017 11:33:38 -0500
|
|
Subject: [PATCH] syscall: expose IfInfomsg.X__ifi_pad on s390x
|
|
|
|
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
|
|
---
|
|
|
|
diff --git a/src/syscall/ztypes_linux_s390x.go b/src/syscall/ztypes_linux_s390x.go
|
|
index 63c4a83..b589425 100644
|
|
--- a/src/syscall/ztypes_linux_s390x.go
|
|
+++ b/src/syscall/ztypes_linux_s390x.go
|
|
@@ -449,12 +449,12 @@
|
|
}
|
|
|
|
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 {
|