Skip to content

scripts/resolveIPaddresses.php creates incomplet last line #4508

@Wiimm

Description

@Wiimm

Describe the bug
With setting resolve_verbose=truescript resolveIPaddresses outputs a list of updated ip addresses. The bug is, that the last log line is not terminated by LINEFEED. This causes issues if piping the output to another process.

Solution
At the very bottom of file ./functions/scripts/resolveIPaddresses.php replace
print implode("\n", $res);
by
print implode("\n", $res)."\n";.

phpIPAM version
v1.7.4

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions