Skip to content

Commit

Permalink
Merge branch 'Exchizz-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
drybjed committed Jul 18, 2019
2 parents fc85b33 + 1edd40c commit 7db0d26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpipam-hosts
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,9 @@ try:

elif args.format == 'dnsmasq':
if not mac:
entry = '{},{}\n'.format(host, ip_real)
entry = '{},{}\n'.format(ip_real, host)
else:
entry = '{}{},{},{}\n'.format(comment, mac, host, ip_real)
entry = '{}{},{},{}\n'.format(comment, mac, ip_real, host)
output = output + entry

elif args.format == 'hosts':
Expand Down

0 comments on commit 7db0d26

Please sign in to comment.