Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 102:fb982ff9da82, committed 2014-07-03
- Comitter:
- mazgch
- Date:
- Thu Jul 03 18:44:32 2014 +0000
- Parent:
- 101:edfeb8af206e
- Child:
- 103:197fa7920ad8
- Commit message:
- cmip parsing
Changed in this revision
| MDM.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/MDM.cpp Tue Jul 01 06:41:26 2014 +0000
+++ b/MDM.cpp Thu Jul 03 18:44:32 2014 +0000
@@ -793,9 +793,9 @@
int MDMParser::_cbCMIP(int type, const char* buf, int len, IP* ip)
{
- if ((type == TYPE_PLUS) && ip) {
+ if ((type == TYPE_UNKNOWN) && ip) {
int a,b,c,d;
- if (sscanf(buf, "\r\n+CMIP: " IPSTR, &a,&b,&c,&d) == 4)
+ if (sscanf(buf, "\r\n" IPSTR, &a,&b,&c,&d) == 4)
*ip = IPADR(a,b,c,d);
}
return WAIT;