summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2009-11-21 17:35:52 +0000
committerWolfram Schlich <wschlich@gentoo.org>2009-11-21 17:35:52 +0000
commitb59bd6074228167d9ff925ae83fec576d1b7b3d3 (patch)
treedd9396f251ee73e6de5227480e927ac715befc28 /net-analyzer/nmbscan/files
parentamd64 stable, bug #289439 (diff)
downloadhistorical-b59bd6074228167d9ff925ae83fec576d1b7b3d3.tar.gz
historical-b59bd6074228167d9ff925ae83fec576d1b7b3d3.tar.bz2
historical-b59bd6074228167d9ff925ae83fec576d1b7b3d3.zip
version bump
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'net-analyzer/nmbscan/files')
-rw-r--r--net-analyzer/nmbscan/files/nmbscan-1.2.5-head.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/nmbscan/files/nmbscan-1.2.5-head.diff b/net-analyzer/nmbscan/files/nmbscan-1.2.5-head.diff
new file mode 100644
index 000000000000..6139f71f297d
--- /dev/null
+++ b/net-analyzer/nmbscan/files/nmbscan-1.2.5-head.diff
@@ -0,0 +1,11 @@
+--- nmbscan.orig 2005-09-21 22:10:05.223491664 +0200
++++ nmbscan 2005-09-21 22:11:59.215162296 +0200
+@@ -402,7 +402,7 @@
+
+ function get_server_and_os_by_ip
+ {
+- V=$(smbclient -L ${2:-$1} -I $1 -U % 2>&1 | grep '^Domain'| sed 's#.*OS=\[\(.*\)\].*Server=\[\(.*\)\].*#\2/\1#' | head -1)
++ V=$(smbclient -L ${2:-$1} -I $1 -U % 2>&1 | grep '^Domain'| sed 's#.*OS=\[\(.*\)\].*Server=\[\(.*\)\].*#\2/\1#' | head -n 1)
+ echo ${V:--/-}
+ }
+