Re: [nfsv4] I-D Action:draft-ietf-nfsv4-rfc3530bis-dot-x-02.txt

"David P. Quigley" <dpquigl@tycho.nsa.gov> Mon, 12 July 2010 22:11 UTC

Return-Path: <dpquigl@tycho.nsa.gov>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9F5FC3A67EE for <nfsv4@core3.amsl.com>; Mon, 12 Jul 2010 15:11:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 857SEEP2k1DF for <nfsv4@core3.amsl.com>; Mon, 12 Jul 2010 15:11:49 -0700 (PDT)
Received: from msux-gh1-uea02.nsa.gov (msux-gh1-uea02.nsa.gov [63.239.65.40]) by core3.amsl.com (Postfix) with ESMTP id 818A53A687A for <nfsv4@ietf.org>; Mon, 12 Jul 2010 15:11:49 -0700 (PDT)
Received: from tarius.tycho.ncsc.mil (localhost [127.0.0.1]) by msux-gh1-uea02.nsa.gov (8.12.10/8.12.10) with ESMTP id o6CMDqSo008819 for <nfsv4@ietf.org>; Mon, 12 Jul 2010 22:13:52 GMT
Received: from [144.51.25.2] (moss-terrapins [144.51.25.2]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with ESMTP id o6CMBuEo026056 for <nfsv4@ietf.org>; Mon, 12 Jul 2010 18:11:56 -0400
From: "David P. Quigley" <dpquigl@tycho.nsa.gov>
To: nfsv4@ietf.org
In-Reply-To: <20100709173033.6B6B43A6AA8@core3.amsl.com>
References: <20100709173033.6B6B43A6AA8@core3.amsl.com>
Content-Type: text/plain
Organization: National Security Agency
Date: Mon, 12 Jul 2010 18:03:10 -0400
Message-Id: <1278972190.2494.233.camel@moss-terrapins.epoch.ncsc.mil>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.3 (2.26.3-1.fc11)
Content-Transfer-Encoding: 7bit
Subject: Re: [nfsv4] I-D Action:draft-ietf-nfsv4-rfc3530bis-dot-x-02.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Jul 2010 22:11:50 -0000

I extracted the .x file from this rfc using the method that the document
suggests and then tried to run it through rpcgen. It is throwing an
error on this portion of the document.

enum createmode4 {
        UNCHECKED4      = 0,
        GUARDED4        = 1,
        EXCLUSIVE4      = 2,
};

>From what I can see other enums don't have a comma after the last
entry's value. Removing the comma reveals another similar mistake in

enum open_claim_type4 {
        CLAIM_NULL              = 0,
        CLAIM_PREVIOUS          = 1,
        CLAIM_DELEGATE_CUR      = 2,
        CLAIM_DELEGATE_PREV     = 3,
};

With both of the commas removed from the last entries in the enum it
succeeds.