shithub: riscv

Download patch

ref: c1d40df49550393f3afe53fb6e6d500dfa8eb7a8
parent: f39abb2923ac5faf55ce283e925671d639f3b9b9
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Sep 17 16:25:18 EDT 2023

devip: fix comment ifc->id -> ifc->ifcid

--- a/sys/src/9/ip/ip.h
+++ b/sys/src/9/ip/ip.h
@@ -583,7 +583,7 @@
 	Route	*left;
 	Route	*right;
 	Ipifc	*ifc;
-	uchar	ifcid;		/* must match ifc->id */
+	uchar	ifcid;		/* must match ifc->ifcid */
 	uchar	depth;
 	ushort	type;
 	char	tag[4];
@@ -660,7 +660,7 @@
 	Block	*hold;
 	Block	*last;
 	Ipifc	*ifc;
-	uchar	ifcid;			/* must match ifc->id */
+	uchar	ifcid;			/* must match ifc->ifcid */
 	uchar	state;
 	uchar	rxtsrem;		/* re-tranmissions remaining */
 	ulong	ctime;			/* time entry was created or refreshed */