diff --git a/src/include/pxe.h b/src/include/pxe.h index 7e61c6ac9..93d950c3e 100644 --- a/src/include/pxe.h +++ b/src/include/pxe.h @@ -94,4 +94,6 @@ extern int ensure_pxe_state ( pxe_stack_state_t wanted ); extern pxe_stack_t *pxe_stack; +extern struct net_device *pxe_netdev; + #endif /* PXE_H */ diff --git a/src/interface/pxe/pxe.c b/src/interface/pxe/pxe.c index 6731a9fdb..80b411db2 100644 --- a/src/interface/pxe/pxe.c +++ b/src/interface/pxe/pxe.c @@ -25,6 +25,8 @@ #include "dev.h" #include "pxe.h" +struct net_device *pxe_netdev = NULL; + #if 0 /* Global pointer to currently installed PXE stack */