If I understand ip_var.h 1.128 correctly, ips_rcvmemdrop was renamed
to ips_fragnomem, breaking the bulid of shells/nsh.

Is the below build fix correct?

Index: Makefile
===================================================================
RCS file: /cvs/ports/shells/nsh/Makefile,v
diff -u -p -r1.55 Makefile
--- Makefile    14 Oct 2026 11:44:22 -0000      1.55
+++ Makefile    26 Nov 2026 19:41:25 -0000
@@ -3,7 +3,7 @@ COMMENT =       network switch style shell
 CATEGORIES =   shells net
 HOMEPAGE =     https://www.nmedia.net/nsh/
 V =            1.2.3
-REVISION =     1
+REVISION =     2
 DISTNAME =     nsh-${V}
 SITES =                
https://github.com/yellowman/nsh/releases/download/v${V}/
 
Index: patches/patch-stats_c
===================================================================
RCS file: /cvs/ports/shells/nsh/patches/patch-stats_c,v
diff -u -p -r1.11 patch-stats_c
--- patches/patch-stats_c       25 Jun 2025 08:44:33 -0000      1.11
+++ patches/patch-stats_c       26 Nov 2026 19:41:19 -0000
@@ -4,6 +4,15 @@ from upstream
 Index: stats.c
 --- stats.c.orig
 +++ stats.c
+@@ -314,7 +314,7 @@ ip_stats()
+       p(ips_fragmented, "\t%lu output datagram%s fragmented\n");
+       p(ips_ofragments, "\t%lu fragment%s created\n");
+       p(ips_cantfrag, "\t%lu datagram%s that can't be fragmented\n");
+-      p1(ips_rcvmemdrop, "\t%lu fragment floods\n");
++      p1(ips_fragnomem, "\t%lu fragment floods\n");
+       p(ips_toolong, "\t%lu packet%s with ip length > max ip packet size\n");
+       p(ips_nogif, "\t%lu tunneling packet%s that can't find gif\n");
+       p(ips_badaddr, "\t%lu datagram%s with bad address in header\n");
 @@ -782,7 +782,7 @@ mbpr(void)
  
        memset(&seen, 0, sizeof(seen));

Reply via email to