Skip to content

Commit

Permalink
syscall: expose IfInfomsg.X__ifi_pad on s390x
Browse files Browse the repository at this point in the history
Exposing this field on s390x improves compatibility with the other
linux architectures, all of which already expose it.

Fixes golang#18628 and updates golang#18632.

Change-Id: I08e8e1eb705f898cd8822f8bee0d61ce11d514b5
  • Loading branch information
mundaym authored and rcrozean committed Oct 5, 2022
1 parent b7615cb commit 01b090f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/syscall/ztypes_linux_s390x.go
Expand Up @@ -449,12 +449,12 @@ type RtAttr struct {
}

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 {
Expand Down

0 comments on commit 01b090f

Please sign in to comment.