Follow us on Google+ Follow us on Facebook Follow us on Twitter

Changeset mainline,1811


Ignore:
Timestamp:
2013-04-18T07:27:37Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
branch-nick:
main-clone
revision id:
jiri@wiwaxia-20130418072737-v8r6ky48vq3xz9x5
Message:

Do not fill in bogus address in lsrc/ldest for received iplink PDUs. We could reverse-translate them, but we don't use them for anything.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mainline/uspace/srv/net/ethip/ethip.c

    r7.1.55 r1811  
    221221        case ETYPE_IP:
    222222                log_msg(LOG_DEFAULT, LVL_DEBUG, " - construct SDU");
    223                 sdu.lsrc.ipv4 = (192 << 24) | (168 << 16) | (0 << 8) | 1;
    224                 sdu.ldest.ipv4 = (192 << 24) | (168 << 16) | (0 << 8) | 4;
     223                sdu.lsrc.ipv4 = 0;
     224                sdu.ldest.ipv4 = 0;
    225225                sdu.data = frame.data;
    226226                sdu.size = frame.size;
Note: See TracChangeset for help on using the changeset viewer.