Changeset 2403 in MondoRescue
- Timestamp:
- Sep 16, 2009, 4:32:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/mondorestore/mondo-rstr-tools.c
r2388 r2403 809 809 bkpinfo->backup_media_type = netfs; 810 810 bkpinfo->please_dont_eject = TRUE; 811 if (read_cfg_var(cfg_file, "netfs-proto", value) == 0) { 812 mr_asprintf(&(bkpinfo->netfs_proto),"%s", value); 813 } else { 814 /* For compatibility, force protocol in old nfs case to be transparent */ 815 mr_asprintf(&(bkpinfo->netfs_proto), "nfs"); 816 } 811 817 if (read_cfg_var(cfg_file, "iso-prefix", value) == 0) { 812 818 strcpy(bkpinfo->prefix,value); … … 823 829 } 824 830 strcpy(bkpinfo->prefix,envtmp1); 825 }826 /* For compatibility, force protocol in old nfs case to be transparent */827 if (!strcmp(value, "nfs")) {828 mr_free(bkpinfo->netfs_proto);829 mr_asprintf(&(bkpinfo->netfs_proto), "nfs");830 831 } 831 832
Note:
See TracChangeset
for help on using the changeset viewer.