diff options
author | Joe <rbo@gmx.us> | 2023-12-15 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-15 20:20:20 +0100 |
commit | 159a9050b5f45fde0c1c8c2f679980b18d4b29d2 (patch) | |
tree | c66d91135c26432badc54cddf847ecc26cf1ed3a /c_lhosts.go | |
parent | good parsing (diff) | |
download | hardflip-159a9050b5f45fde0c1c8c2f679980b18d4b29d2.tar.gz hardflip-159a9050b5f45fde0c1c8c2f679980b18d4b29d2.tar.bz2 hardflip-159a9050b5f45fde0c1c8c2f679980b18d4b29d2.tar.xz hardflip-159a9050b5f45fde0c1c8c2f679980b18d4b29d2.tar.zst hardflip-159a9050b5f45fde0c1c8c2f679980b18d4b29d2.zip |
good shit
Diffstat (limited to 'c_lhosts.go')
-rw-r--r-- | c_lhosts.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c_lhosts.go b/c_lhosts.go index aa32681..67bb5a2 100644 --- a/c_lhosts.go +++ b/c_lhosts.go @@ -39,7 +39,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * josh: src/c_lhosts.go - * Fri, 15 Dec 2023 11:43:34 +0100 + * Fri, 15 Dec 2023 12:22:05 +0100 * Joe * * the hosts linked list @@ -58,6 +58,7 @@ type HostNode struct { Pass string `yaml:"pass"` Jump string `yaml:"jump"` Priv string `yaml:"priv"` + Path string next *HostNode } @@ -77,6 +78,7 @@ func (lhost *HostList) add_back(node *HostNode) { for curr.next != nil { curr = curr.next } + new_node.ID = curr.ID + 1 curr.next = new_node } |