diff options
author | 2001-02-12 15:45:18 +0000 | |
---|---|---|
committer | 2001-02-12 15:45:18 +0000 | |
commit | 618c20207745e386d02df4cc285cf6883753f740 (patch) | |
tree | f6cffbfe270a10980a2426377b592f1b98355317 | |
parent | don't use long usernames by default; ok deraadt@ (diff) | |
download | wireguard-openbsd-618c20207745e386d02df4cc285cf6883753f740.tar.xz wireguard-openbsd-618c20207745e386d02df4cc285cf6883753f740.zip |
skip empty lines in rulefile. ok jason@
-rw-r--r-- | sbin/brconfig/brconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/brconfig/brconfig.c b/sbin/brconfig/brconfig.c index 7ff120181d8..788ae72c131 100644 --- a/sbin/brconfig/brconfig.c +++ b/sbin/brconfig/brconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: brconfig.c,v 1.10 2000/12/12 03:41:22 jason Exp $ */ +/* $OpenBSD: brconfig.c,v 1.11 2001/02/12 15:45:18 jakob Exp $ */ /* * Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net) @@ -1283,7 +1283,7 @@ bridge_rulefile(s, brdg, fname) if (feof(f)) break; ln++; - if (buf[0] == '#') + if (buf[0] == '#' || buf[0] == '\n') continue; argc = 0; |