[linux-fai-commit] [faiproject/fai] b95d56: fix wrong IP settings in boot.log

Mrfai noreply at github.com
Mi Dez 11 12:53:57 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/faiproject/fai
  Commit: b95d56084255d8512e16724f38aab726dc7fb9d3
      https://github.com/faiproject/fai/commit/b95d56084255d8512e16724f38aab726dc7fb9d3
  Author: Thomas Lange <lange at debian.org>
  Date:   2019-12-11 (Wed, 11 Dec 2019)

  Changed paths:
    M lib/get-boot-info

  Log Message:
  -----------
  fix wrong IP settings in boot.log

use $NIC1 instead of $dev, do not write info if $NIC1 is not set

This is the bug report:
But in a particular case when interface with a proper IP setting (with
default gw) is happen to the second interface and there is a dummy IP
setting on the first active interface, variables like IPADDR, NETMASK,
BROADCAST are filled and erroneously used with dummy IP info of the
first active interface.




Mehr Informationen über die Mailingliste linux-fai-commit