Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 0 commits into from
Jul 25, 2018

Conversation

mgmacias95
Copy link
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
Contributor

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

@mgmacias95
Copy link
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