daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
4f096d
From 67cd626399b0d02882ee00716c8bd31ba764c862 Mon Sep 17 00:00:00 2001
4f096d
From: Chris Packham <chris.packham@alliedtelesis.co.nz>
4f096d
Date: Fri, 10 Sep 2021 09:51:36 +1200
4f096d
Subject: [PATCH] basic/linux: Sync if_arp.h with Linux 5.14
4f096d
4f096d
ARPHRD_MCTP was added in 5.14. Sync if_arp.h to pick up the definition
4f096d
4f096d
Fixes #20694
4f096d
---
4f096d
 src/basic/linux/if_arp.h | 1 +
4f096d
 1 file changed, 1 insertion(+)
4f096d
4f096d
diff --git a/src/basic/linux/if_arp.h b/src/basic/linux/if_arp.h
4f096d
index c3cc5a9e5eaf..4783af9fe520 100644
4f096d
--- a/src/basic/linux/if_arp.h
4f096d
+++ b/src/basic/linux/if_arp.h
4f096d
@@ -54,6 +54,7 @@
4f096d
 #define ARPHRD_X25	271		/* CCITT X.25			*/
4f096d
 #define ARPHRD_HWX25	272		/* Boards with X.25 in firmware	*/
4f096d
 #define ARPHRD_CAN	280		/* Controller Area Network      */
4f096d
+#define ARPHRD_MCTP	290
4f096d
 #define ARPHRD_PPP	512
4f096d
 #define ARPHRD_CISCO	513		/* Cisco HDLC	 		*/
4f096d
 #define ARPHRD_HDLC	ARPHRD_CISCO