4638N/A/*
4638N/A * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
4638N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4638N/A *
4638N/A * This code is free software; you can redistribute it and/or modify it
4638N/A * under the terms of the GNU General Public License version 2 only, as
4638N/A * published by the Free Software Foundation. Oracle designates this
4638N/A * particular file as subject to the "Classpath" exception as provided
4638N/A * by Oracle in the LICENSE file that accompanied this code.
4638N/A *
4638N/A * This code is distributed in the hope that it will be useful, but WITHOUT
4638N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4638N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4638N/A * version 2 for more details (a copy is included in the LICENSE file that
4638N/A * accompanied this code).
4638N/A *
4638N/A * You should have received a copy of the GNU General Public License version
4638N/A * 2 along with this work; if not, write to the Free Software Foundation,
4638N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4638N/A *
4638N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4638N/A * or visit www.oracle.com if you need additional information or have any
4638N/A * questions.
4638N/A */
4638N/A
4638N/Apackage java.net;
4638N/A
4638N/A/**
4638N/A * Choose a network inteface to be the default for
4638N/A * outgoing IPv6 traffic that does not specify a scope_id (and which needs one).
4638N/A *
4638N/A * Platforms that do not require a default interface may return null
4638N/A * which is what this implementation does.
4638N/A */
4638N/A
4638N/Aclass DefaultInterface {
4638N/A
4638N/A static NetworkInterface getDefault() {
4638N/A return null;
4638N/A }
4638N/A}