Code

Add support for recent 4.0-only configurations
authorMarek Becka <marek.becka@superhosting.cz>
Mon, 10 Feb 2014 20:28:48 +0000 (21:28 +0100)
committerMarek Becka <marek.becka@superhosting.cz>
Mon, 10 Feb 2014 20:28:48 +0000 (21:28 +0100)
src/nfs.c

index ac211655576166fc94531b4abbd6f3fe6eff49b2..c466439c0a7730548ac502c5e9bcf976505a665e 100644 (file)
--- a/src/nfs.c
+++ b/src/nfs.c
@@ -492,10 +492,12 @@ static int nfs_submit_nfs4_client (const char *instance, char **fields,
        switch (fields_num)
        {
                case 34:
-                       proc40_names_num = 34;
-                       break;
                case 35:
-                       proc40_names_num = 35;
+               case 36:
+               case 37:
+               case 38:
+                       /* 4.0-only configuration */
+                       proc40_names_num = fields_num;
                        break;
                case 40:
                        proc40_names_num = 35;