summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-04 13:25:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-04 13:25:31 +0000
commited15301c7bc06fc5f3a43870329ce08333a3997f (patch)
tree9b69602da4539d0e5d7611ffb1e67124a7c12405
parent3762222f94b63356d5fe71d28702d23b55680269 (diff)
downloadrtems-ed15301c7bc06fc5f3a43870329ce08333a3997f.tar.bz2
2002-10-04 Jay Monkman <jtm@smoothsmoothie.com>
* rtems/rtems_glue.c: Add IP aliasing ioctls SIOCAIFADDR and SIOCDIFADDR.
Diffstat (limited to '')
-rw-r--r--cpukit/libnetworking/ChangeLog5
-rw-r--r--cpukit/libnetworking/rtems/rtems_glue.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/libnetworking/ChangeLog b/cpukit/libnetworking/ChangeLog
index d77d74d53a..3943de2cf7 100644
--- a/cpukit/libnetworking/ChangeLog
+++ b/cpukit/libnetworking/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-04 Jay Monkman <jtm@smoothsmoothie.com>
+
+ * rtems/rtems_glue.c: Add IP aliasing ioctls SIOCAIFADDR and
+ SIOCDIFADDR.
+
2002-10-02 Joel Sherrill <joel@OARcorp.com>
* kern/uipc_socket.c: Make sure that small non-zero delays work.
diff --git a/cpukit/libnetworking/rtems/rtems_glue.c b/cpukit/libnetworking/rtems/rtems_glue.c
index bc9d182236..453e59faba 100644
--- a/cpukit/libnetworking/rtems/rtems_glue.c
+++ b/cpukit/libnetworking/rtems/rtems_glue.c
@@ -1075,6 +1075,11 @@ int rtems_bsdnet_ifconfig (const char *ifname, unsigned32 cmd, void *param)
*((int*) param) = ifreq.ifr_media;
break;
+ case SIOCAIFADDR:
+ case SIOCDIFADDR:
+ r = ioctl(s, cmd, (struct freq *) param);
+ break;
+
default:
errno = EOPNOTSUPP;
r = -1;