diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-12-03 17:16:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-12-03 17:16:40 +0000 |
commit | 97f8d789d5ff9a5476f6ca96b84032d656af6e7d (patch) | |
tree | 4a253cc94cbbaa3e242d3bfcc34e85e445d8268b | |
parent | 26a31bc9d43c9771f31fd3a816b4012d47484f7c (diff) |
if_indextoname() was fixed a while back, do not need to pledge "route"
ok claudio
-rw-r--r-- | usr.sbin/ospf6ctl/ospf6ctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospf6ctl/ospf6ctl.c b/usr.sbin/ospf6ctl/ospf6ctl.c index 531bc2a6916..f4bd8c5407d 100644 --- a/usr.sbin/ospf6ctl/ospf6ctl.c +++ b/usr.sbin/ospf6ctl/ospf6ctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospf6ctl.c,v 1.41 2015/10/10 00:19:52 benno Exp $ */ +/* $OpenBSD: ospf6ctl.c,v 1.42 2015/12/03 17:16:39 deraadt Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -124,7 +124,7 @@ main(int argc, char *argv[]) if (connect(ctl_sock, (struct sockaddr *)&sun, sizeof(sun)) == -1) err(1, "connect: %s", sockname); - if (pledge("stdio route", NULL) == -1) + if (pledge("stdio", NULL) == -1) err(1, "pledge"); if ((ibuf = malloc(sizeof(struct imsgbuf))) == NULL) |