diff options
| author | Roy Marples <roy@marples.name> | 2009-03-23 07:43:31 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2009-03-23 07:43:31 +0000 |
| commit | d377fcaa7c3de0f105d65644244167ff81d93484 (patch) | |
| tree | 64811903007bbc073385e3f1c7eb0b5fe4fa395d | |
| parent | 12d3c36393a3dd6245c36dd08e42df2ca5f5aa03 (diff) | |
| download | dhcpcd-d377fcaa7c3de0f105d65644244167ff81d93484.tar.xz | |
We should not work with lo by default.
| -rw-r--r-- | if-linux.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -563,8 +563,7 @@ discover_interfaces(int argc, char * const *argv) if ((ifp = init_interface(p))) { /* Don't allow loopback unless explicit */ if (ifp->flags & IFF_LOOPBACK && - argc == 0 && - ifdc == 0) + (argc != 0 || ifdc != 0)) { free_interface(ifp); continue; |
