From 8d2420619916ff19f6dae7ee04c8de112302ceab Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Wed, 31 Aug 2016 13:32:28 +0000 Subject: Rename ifconfig's setinstance() function to setrdomain(). Less confusing. ok claudio@ jca@ --- sbin/ifconfig/ifconfig.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sbin/ifconfig') 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; -- cgit v1.2.3