From 60e7b273126249b96f6dd4644e430ffd76bb82ee Mon Sep 17 00:00:00 2001
From: Mohit Mehta <mohit.mehta@vyatta.com>
Date: Tue, 24 Jun 2008 09:43:14 +0000
Subject: prevents showing backend error to user on traceroute when name-server
 not set

---
 templates/traceroute/node.tag/node.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/traceroute/node.tag/node.def b/templates/traceroute/node.tag/node.def
index 83a3f31..cf60ec4 100644
--- a/templates/traceroute/node.tag/node.def
+++ b/templates/traceroute/node.tag/node.def
@@ -12,7 +12,7 @@ run:
            /usr/bin/traceroute $2
            echo
        else
-           if cat /etc/resolv.conf | grep -q nameserver
+           if cat /etc/resolv.conf 2> /dev/null | grep -q nameserver
              then
                  if /usr/bin/host $2 &> /dev/null
                    then
-- 
cgit v1.2.3


From 90567d603a6c9867b6b9cb93f185a46b88f5aef9 Mon Sep 17 00:00:00 2001
From: Mark O'Brien <mobrien@firebolt.vyatta.com>
Date: Sat, 28 Jun 2008 11:22:25 -0700
Subject: 3.1.1

---
 debian/changelog | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b539a82..c8d55c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,30 @@
+vyatta-op (0.11) unstable; urgency=low
+
+	  3.1.1
+  [ Mark O'Brien ]
+
+
+  [ Mohit Mehta ]
+  * Fix Bug 1059 Feature Request: integrate 'tcpdump' and 'tethereal'
+    into Vyatta CLI
+  * Bug 3385 incomplete command 'run' in configure mode produces backend
+    error to user
+  * Fix Bug 3378 user "vyatta" got "permission denied" after executing
+    "renew dhcp ..." and/or "release dhcp ..."
+
+  [ rbalocca ]
+  * Output was sometimes missing important white space
+
+  [ Mohit Mehta ]
+  * added code for allowed values for op-mode dhcp release/renew lease
+    commands
+  * Fix bug 3059 Operator Level commands for DHCP client
+  * deleting op-command 'clear dhcp client process' as its handling
+
+  [ Mark O'Brien ]
+
+ -- Mark O'Brien <mobrien@firebolt.vyatta.com>  Sat, 28 Jun 2008 11:22:25 -0700
+
 vyatta-op (0.10) unstable; urgency=low
 
 	  3.1.0
-- 
cgit v1.2.3


From 10ca4cd0c4ab9cb268d301f75e7f73fca340651a Mon Sep 17 00:00:00 2001
From: An-Cheng Huang <ancheng@vyatta.com>
Date: Thu, 10 Jul 2008 16:55:32 -0700
Subject: fix for bug 3451: add messages output

---
 functions/tech-support | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/functions/tech-support b/functions/tech-support
index 18647f1..73b5eb6 100755
--- a/functions/tech-support
+++ b/functions/tech-support
@@ -225,6 +225,9 @@ done
 header wanrouter conflog
 wanrouter conflog
 
+header /var/log/messages
+tail -n 250 /var/log/messages
+
 header "END OF TECH-SUPPORT FILE"
 ) 1>&$OUT 2>&1
 
-- 
cgit v1.2.3


From 34b70e943b9b8b133434ab7705e2543feee85c8c Mon Sep 17 00:00:00 2001
From: Mohit Mehta <mohit.mehta@vyatta.com>
Date: Thu, 26 Jun 2008 16:52:58 +0000
Subject: => display text saying the domain-name received from dhcp-server   
 is overridden by domain-name set in our CLI in op-mode command    'show dhcp
 client leases'

---
 scripts/vyatta-show-dhclient.pl | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/scripts/vyatta-show-dhclient.pl b/scripts/vyatta-show-dhclient.pl
index b696f8f..a158598 100755
--- a/scripts/vyatta-show-dhclient.pl
+++ b/scripts/vyatta-show-dhclient.pl
@@ -122,7 +122,14 @@ sub dhclient_show_lease {
 	}
     }
     print "subnet mask: $new_subnet_mask\n" if defined $new_subnet_mask;
-    print "domain name: $new_domain_name\n" if defined $new_domain_name;
+    if (defined $new_domain_name) {
+      print "domain name: $new_domain_name";
+      if (`grep domain /etc/resolv.conf 2> /dev/null`) {
+        print "\t[overridden by domain-name set using CLI]\n";
+      } else {
+        print "\n";
+      }
+    }
     print "router     : $new_routers\n" if defined $new_routers;
     print "name server: $new_domain_name_servers\n" if 
 	defined $new_domain_name_servers;
-- 
cgit v1.2.3


From 8896340fc868fc6338a7e1ded1a45793aaafd1a8 Mon Sep 17 00:00:00 2001
From: Mohit Mehta <mohit.mehta@vyatta.com>
Date: Fri, 27 Jun 2008 03:12:09 +0000
Subject: better detection of whether domain-name set using CLI is overriding
 domain-search received from dhcp client. used in 'show dhcp client leases'

---
 scripts/vyatta-show-dhclient.pl | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/scripts/vyatta-show-dhclient.pl b/scripts/vyatta-show-dhclient.pl
index a158598..0f3990b 100755
--- a/scripts/vyatta-show-dhclient.pl
+++ b/scripts/vyatta-show-dhclient.pl
@@ -124,7 +124,20 @@ sub dhclient_show_lease {
     print "subnet mask: $new_subnet_mask\n" if defined $new_subnet_mask;
     if (defined $new_domain_name) {
       print "domain name: $new_domain_name";
-      if (`grep domain /etc/resolv.conf 2> /dev/null`) {
+      my $cli_domain_overrides = 0;
+      my $if_domain_exists = `grep domain /etc/resolv.conf 2> /dev/null | wc -l`;
+      if ($if_domain_exists > 0) {
+        my @domain = `grep domain /etc/resolv.conf`;
+        for my $each_domain_text_found (@domain) {
+               my @domain_text_split = split(/\t/, $each_domain_text_found, 2);
+               my $domain_at_start_of_line = $domain_text_split[0];
+               chomp $domain_at_start_of_line;
+               if ($domain_at_start_of_line eq "domain") {
+                   $cli_domain_overrides = 1;
+               }
+        }
+      }
+      if ($cli_domain_overrides == 1) {
         print "\t[overridden by domain-name set using CLI]\n";
       } else {
         print "\n";
-- 
cgit v1.2.3


From 7d0eb3566db26114a0b57af6491cb7b6844ccea8 Mon Sep 17 00:00:00 2001
From: Mark O'Brien <mobrien@firebolt.vyatta.com>
Date: Wed, 23 Jul 2008 21:36:10 -0700
Subject: 3.1.2

---
 debian/changelog | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c8d55c4..44675de 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,36 @@
+vyatta-op (0.12) unstable; urgency=low
+
+	  3.1.2
+  [ Mark O'Brien ]
+
+
+  [ Mohit Mehta ]
+  * better detection of whether domain-name set using CLI is overriding
+  * => display text saying the domain-name received from dhcp-server
+
+  [ An-Cheng Huang ]
+  * fix for bug 3451: add messages output
+
+  [ Stephen Hemminger ]
+  * Turn on paging of tail when showing count lines
+  * Show files completion
+
+  [ Mohit Mehta ]
+  * prevents showing backend error to user on traceroute when name-
+    server not set
+  * Fix Bug 2871 Internal errors reported with traceroute
+
+  [ An-Cheng Huang ]
+  * fix for bug 3414: make op mode functions available in config mode.
+
+  [ Mohit Mehta ]
+  * Fix Bug 1059 Feature Request: integrate 'tcpdump' and 'tethereal'
+    into Vyatta CLI
+
+  [ Mark O'Brien ]
+
+ -- Mark O'Brien <mobrien@firebolt.vyatta.com>  Wed, 23 Jul 2008 21:36:10 -0700
+
 vyatta-op (0.11) unstable; urgency=low
 
 	  3.1.1
-- 
cgit v1.2.3