mod_netconf: change with-defaults option to _TAGGED

causes insertion of attribute (wd:default="true") of element
- refs #1405
diff --git a/src/mod_netconf.c b/src/mod_netconf.c
index f6218ab..142ea0f 100644
--- a/src/mod_netconf.c
+++ b/src/mod_netconf.c
@@ -646,7 +646,7 @@
 	}
 
 	/* tell server to show all elements even if they have default values */
-	if (nc_rpc_capability_attr(rpc, NC_CAP_ATTR_WITHDEFAULTS_MODE, NCWD_MODE_ALL)) {
+	if (nc_rpc_capability_attr(rpc, NC_CAP_ATTR_WITHDEFAULTS_MODE, NCWD_MODE_ALL_TAGGED)) {
 		DEBUG("mod_netconf: setting withdefaults failed");
 	}
 
@@ -706,7 +706,7 @@
 	}
 
 	/* tell server to show all elements even if they have default values */
-	if (nc_rpc_capability_attr(rpc, NC_CAP_ATTR_WITHDEFAULTS_MODE, NCWD_MODE_ALL)) {
+	if (nc_rpc_capability_attr(rpc, NC_CAP_ATTR_WITHDEFAULTS_MODE, NCWD_MODE_ALL_TAGGED)) {
 		DEBUG("mod_netconf: setting withdefaults failed");
 	}