Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net PR kern/47419: Antony Mallet: ifconfig doesn't dipla...



details:   https://anonhg.NetBSD.org/src/rev/7253857bffd5
branches:  trunk
changeset: 784145:7253857bffd5
user:      degroote <degroote%NetBSD.org@localhost>
date:      Sat Jan 19 16:18:32 2013 +0000

description:
PR kern/47419: Antony Mallet: ifconfig doesn't diplay MTU on gif(4)

There is no special treatment for SIOCGITMTU in gif(4), so just pass it to
ifioctl_common().

diffstat:

 sys/net/if_gif.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r bf704db781ad -r 7253857bffd5 sys/net/if_gif.c
--- a/sys/net/if_gif.c  Sat Jan 19 16:11:03 2013 +0000
+++ b/sys/net/if_gif.c  Sat Jan 19 16:18:32 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_gif.c,v 1.80 2011/10/28 16:42:52 dyoung Exp $       */
+/*     $NetBSD: if_gif.c,v 1.81 2013/01/19 16:18:32 degroote Exp $     */
 /*     $KAME: if_gif.c,v 1.76 2001/08/20 02:01:02 kjc Exp $    */
 
 /*
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.80 2011/10/28 16:42:52 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.81 2013/01/19 16:18:32 degroote Exp $");
 
 #include "opt_inet.h"
 #include "opt_iso.h"
@@ -496,9 +496,6 @@
                }
                break;
 
-       case SIOCGIFMTU:
-               break;
-
        case SIOCSIFMTU:
                if (ifr->ifr_mtu < GIF_MTU_MIN || ifr->ifr_mtu > GIF_MTU_MAX)
                        return EINVAL;



Home | Main Index | Thread Index | Old Index