src/devices/csma/csma-net-device.h
changeset 4578 88434ff8f0a5
parent 4322 bad9eed19283
child 4764 e90e1ef585b0
--- a/src/devices/csma/csma-net-device.h	Tue Jun 23 19:44:57 2009 -0700
+++ b/src/devices/csma/csma-net-device.h	Tue Jun 23 22:12:35 2009 -0700
@@ -183,13 +183,6 @@
   void SetReceiveEnable (bool enable);
 
   /**
-   * Set the MAC address of the the network device.
-   *
-   * \param addr The Mac48Address to use as the address of the device.
-   */
-  void SetAddress (Mac48Address addr);
-
-  /**
    * Set The max frame size of packets sent over this device.
    *
    * Okay, that was easy to say, but the details are a bit thorny.  We have a MAC-level MTU that is the payload that higher 
@@ -310,6 +303,7 @@
   virtual Ptr<Channel> GetChannel (void) const;
   virtual bool SetMtu (const uint16_t mtu);
   virtual uint16_t GetMtu (void) const;
+  virtual void SetAddress (Address address);
   virtual Address GetAddress (void) const;
   virtual bool IsLinkUp (void) const;
   virtual void SetLinkChangeCallback (Callback<void> callback);