Skip to content

Add 127.0.0.1 as manager IP when creating global.db#970

Merged
jesuslinares merged 0 commit into3.5from
dev-add-manager-ip-global-db
Jul 25, 2018
Merged

Add 127.0.0.1 as manager IP when creating global.db#970
jesuslinares merged 0 commit into3.5from
dev-add-manager-ip-global-db

Conversation

@mgmacias95
Copy link
Copy Markdown
Contributor

Hello team,

This PR implements #826 and fixes wazuh/wazuh-api#102.

Best regards,
Marta

@jesuslinares jesuslinares changed the base branch from 3.4 to 3.5 July 25, 2018 17:33
@jesuslinares jesuslinares merged this pull request into 3.5 Jul 25, 2018
@jesuslinares jesuslinares deleted the dev-add-manager-ip-global-db branch July 25, 2018 17:33
@branchnetconsulting
Copy link
Copy Markdown
Contributor

I think you mean "Add 127.0.0.1 ..." rather than "Add 172.0.0.1 ..."

@mgmacias95
Copy link
Copy Markdown
Contributor Author

Hello @branchnetconsulting,

It was a typo. If you see the code it is correct:

INSERT INTO agent (id, ip, name, date_add, last_keepalive, `group`) VALUES (0, '127.0.0.1', 'localhost', datetime(CURRENT_TIMESTAMP, 'localtime'), '9999-12-31 23:59:59', NULL);

Thanks for your comment.

Best regards,
Marta

@mgmacias95 mgmacias95 changed the title Add 172.0.0.1 as manager IP when creating global.db Add 127.0.0.1 as manager IP when creating global.db Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants