Add 'Msf' to 'Context' in the connect command's socket for db_tracker

git-svn-id: file:///home/svn/framework3/trunk@6476 4d416f70-5f16-0410-b530-b9f4589650da
unstable
kris 2009-04-11 12:07:50 +00:00
parent a785add956
commit 17ad98e8e3
1 changed files with 4 additions and 1 deletions

View File

@ -295,7 +295,10 @@ class Core
'PeerPort' => port, 'PeerPort' => port,
'LocalHost' => srcaddr, 'LocalHost' => srcaddr,
'LocalPort' => srcport, 'LocalPort' => srcport,
'Timeout' => cto 'Timeout' => cto,
'Context' => {
'Msf' => framework
}
}) })
rescue rescue
print_error("Unable to connect: #{$!}") print_error("Unable to connect: #{$!}")