From a5bf15878e4a3760cfe4a5197dce60a8ffc72fb0 Mon Sep 17 00:00:00 2001
From: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date: Mon, 6 Oct 2014 11:12:59 +0200
Subject: [PATCH] NDMP SMTAPE restore does need namelist.

Fixes #345: NDMP restore does not work
---
 src/dird/ndmp_dma.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/dird/ndmp_dma.c b/src/dird/ndmp_dma.c
index 7319343..0ab6396 100644
--- a/src/dird/ndmp_dma.c
+++ b/src/dird/ndmp_dma.c
@@ -179,7 +179,7 @@ struct ndmp_backup_format_option {
 static ndmp_backup_format_option ndmp_backup_format_options[] = {
    { (char *)"dump", true, true, true, true },
    { (char *)"tar", true, false, true, true },
-   { (char *)"smtape", false, false, false, false },
+   { (char *)"smtape", false, false, false, true },
    { (char *)"zfs", false, true, false, true },
    { NULL, false, false, false }
 };
-- 
1.7.3.2

