Module Name: src Committed By: christos Date: Sat Nov 16 21:41:02 UTC 2019
Modified Files: src/external/bsd/tcpdump/dist: parsenfsfh.c Log Message: Fix always false test (typo). Note by joerg@ To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/bsd/tcpdump/dist/parsenfsfh.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/tcpdump/dist/parsenfsfh.c diff -u src/external/bsd/tcpdump/dist/parsenfsfh.c:1.8 src/external/bsd/tcpdump/dist/parsenfsfh.c:1.9 --- src/external/bsd/tcpdump/dist/parsenfsfh.c:1.8 Sat Feb 4 23:05:05 2017 +++ src/external/bsd/tcpdump/dist/parsenfsfh.c Sat Nov 16 16:41:02 2019 @@ -42,7 +42,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: parsenfsfh.c,v 1.8 2017/02/05 04:05:05 spz Exp $"); +__RCSID("$NetBSD: parsenfsfh.c,v 1.9 2019/11/16 21:41:02 christos Exp $"); #endif #ifdef HAVE_CONFIG_H @@ -211,7 +211,7 @@ Parse_fh(register const unsigned char *f if ((fhp[6] == 0) && (fhp[7] == 0)) { /* for ffs sizeof(ufid) == 16 bytes */ if ((fhp[8] == 0x10 && fhp[9] == 0x0) || - (fhp[9] == 0x0 && fhp[9] == 0x10)) + (fhp[8] == 0x0 && fhp[9] == 0x10)) fhtype = FHT_NETBSD; else fhtype = FHT_BSD44;