Changeset 4515


Ignore:
Timestamp:
May 2, 2017, 5:24:15 PM (23 months ago)
Author:
hectorgh
Message:

adding ip addr flush when configuring interfaces

Location:
n4d-network/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • n4d-network/trunk/fuentes/debian/changelog

    r3577 r4515  
     1n4d-network (1.9.3) xenial; urgency=high
     2
     3  * Adding ip addr flush when configuring interfaces
     4
     5 -- Hector Garcia Huerta <hectorgh@gmail.com>  Tue, 02 May 2017 17:23:20 +0200
     6
    17n4d-network (1.9.2-lliurex3) xenial; urgency=medium
    28
  • n4d-network/trunk/fuentes/install/usr/share/n4d/python-plugins/NetworkManager.py

    r292 r4515  
    129129                       
    130130                        # Restarting internal interface. Initialization behaves better this way
     131                        os.system("ip addr flush dev %s"%interface)
    131132                        os.system("ifdown %s; ifup %s"%(interface,interface))
    132133               
     
    231232               
    232233                for interface in lliurex.net.get_devices_info():
     234                        os.system("ip addr flush dev %s"%interface["name"])
    233235                        os.system("ifdown %s;ifup %s"%(interface["name"],interface["name"]))
    234236                       
Note: See TracChangeset for help on using the changeset viewer.