summaryrefslogtreecommitdiff
path: root/sbin/ifconfig
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2016-08-31 13:32:28 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2016-08-31 13:32:28 +0000
commit8d2420619916ff19f6dae7ee04c8de112302ceab (patch)
treee60760654e5d3095f27a263dc068f064083d218e /sbin/ifconfig
parentc8202a2f1c41e4cda380f958efd634d646a09ae8 (diff)
Rename ifconfig's setinstance() function to setrdomain(). Less confusing.
ok claudio@ jca@
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r--sbin/ifconfig/ifconfig.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index c5425598110..91795dd19f2 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.327 2016/08/19 09:06:24 jsg Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.328 2016/08/31 13:32:27 stsp Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -218,7 +218,7 @@ void unsetvlandev(const char *, int);
void mpe_status(void);
void mpw_status(void);
void vlan_status(void);
-void setinstance(const char *, int);
+void setrdomain(const char *, int);
int main(int, char *[]);
int prefix(void *val, int);
void getifgroups(void);
@@ -392,7 +392,7 @@ const struct cmd {
{ "priority", NEXTARG, 0, setifpriority },
{ "rtlabel", NEXTARG, 0, setifrtlabel },
{ "-rtlabel", -1, 0, setifrtlabel },
- { "rdomain", NEXTARG, 0, setinstance },
+ { "rdomain", NEXTARG, 0, setrdomain },
{ "mpls", IFXF_MPLS, 0, setifxflags },
{ "-mpls", -IFXF_MPLS, 0, setifxflags },
{ "mplslabel", NEXTARG, 0, setmpelabel },
@@ -5675,7 +5675,7 @@ setiflladdr(const char *addr, int param)
#ifndef SMALL
void
-setinstance(const char *id, int param)
+setrdomain(const char *id, int param)
{
const char *errmsg = NULL;
int rdomainid;