equal
deleted
inserted
replaced
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
126 // matching the offered address inside DCHP message (but this would need |
126 // matching the offered address inside DCHP message (but this would need |
127 // more extensive packet snooping here) |
127 // more extensive packet snooping here) |
128 #ifndef _DEBUG |
128 #ifndef _DEBUG |
129 if (udp.iHdr->DstPort() == 68) |
129 if (udp.iHdr->DstPort() == 68) |
130 #else |
130 #else |
131 if (udp.iHdr->DstPort() == 68 || udp.iHdr->DstPort() == 127 || udp.iHdr->DstPort() == 119 || udp.iHdr->DstPort() == 125 |
131 if (udp.iHdr->DstPort() == 68 || udp.iHdr->DstPort() == 127 || udp.iHdr->DstPort() == 119 || udp.iHdr->DstPort() == 94 || udp.iHdr->DstPort() == 125 |
132 #ifdef SYMBIAN_NETWORKING_DHCP_MSG_HEADERS |
132 #ifdef SYMBIAN_NETWORKING_DHCP_MSG_HEADERS |
133 || udp.iHdr->DstPort() == 92 || udp.iHdr->DstPort() == 99 |
133 || udp.iHdr->DstPort() == 92 || udp.iHdr->DstPort() == 99 |
134 #endif//SYMBIAN_NETWORKING_DHCP_MSG_HEADERS |
134 #endif//SYMBIAN_NETWORKING_DHCP_MSG_HEADERS |
135 ) // debug mode, src port 127, 119, 125, 91, 98 |
135 ) // debug mode, src port 127, 119, 125, 91, 98 |
136 #endif |
136 #endif |