diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/interface.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/interface.c b/src/core/interface.c index ba148c13..948fa5c5 100644 --- a/src/core/interface.c +++ b/src/core/interface.c @@ -295,7 +295,6 @@ void intf_shutdown ( struct interface *intf, int rc ) { * blocked during shutdown. */ void intf_restart ( struct interface *intf, int rc ) { - struct interface_descriptor *desc = intf->desc; /* Shut down the interface */ intf_shutdown ( intf, rc ); @@ -309,7 +308,7 @@ void intf_restart ( struct interface *intf, int rc ) { * infinite loop as the intf_close() operations on each side * of the link call each other recursively. */ - intf->desc = desc; + intf_reinit ( intf ); } /** |