<div dir="ltr">Hello.<div><br></div><div>I'm sorry, you're right, I've pasted it to web mail...</div><div>I wasn't aware that you are applying it directly from e-mail.</div><div>Linux box I'm working on doesn't have direct access to Internet nor e-mail server so git doesn't work completely.</div><div>I have a Windows machine for that but I haven't configured access to GMail through SMTP/POP3, I will do that soon.</div><div><br></div><div>Again, I'm very sorry, I rarely use git and e-mail patching systems.</div><div>I will do my best to do it in a proper way next time.</div><div><br></div><div>Thank you for your assistance!</div><div><br></div><div>Greetings.</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-15 13:57 GMT+02:00 Neels Hofmeyr <span dir="ltr"><<a href="mailto:nhofmeyr@sysmocom.de" target="_blank">nhofmeyr@sysmocom.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I had a lot of trouble applying this patch with 'git am' because your<br>
submission is completely broken. There are line wraps and broken indenting<br>
everywhere.<br>
<br>
The patch is also sent in HTML format (besides the plain text version).<br>
<br>
How did all this happen?<br>
Did you paste the patch file into some web mail UI?? :)<br>
<br>
Since the patch is fairly trivial and to avoid more senseless cycles, I applied<br>
it manually. But next time please post a proper patch, that avoids a lot of<br>
time wasted on a trivial change.<br>
<br>
~Neels<br>
<span class="im HOEnZb"><br>
><br>
> diff --git a/gtp/gtpie.c b/gtp/gtpie.c<br>
> index a45df1c..c8db449 100644<br>
> --- a/gtp/gtpie.c<br>
> +++ b/gtp/gtpie.c<br>
</span><div class="HOEnZb"><div class="h5">>   case GTPIE_RP_SMS:<br>
>   case GTPIE_RP:<br>
>   case GTPIE_MS_NOT_REACH:<br>
> + case GTPIE_BCM:<br>
>   if (j < GTPIE_SIZE) {<br>
>   ie[j] = (union gtpie_member *)p;<br>
>   if (GTPIE_DEBUG)<br>
> @@ -457,6 +458,7 @@ int gtpie_encaps(union gtpie_member *ie[], void *pack,<br>
> unsigned *len)<br>
>   case GTPIE_RP_SMS:<br>
>   case GTPIE_RP:<br>
>   case GTPIE_MS_NOT_REACH:<br>
> + case GTPIE_BCM:<br>
>   iesize = 2;<br>
>   break;<br>
>   case GTPIE_FL_DI: /* TV GTPIE types with value length 2 */<br>
> @@ -558,6 +560,7 @@ int gtpie_encaps2(union gtpie_member ie[], unsigned int<br>
> size,<br>
>   case GTPIE_RP_SMS:<br>
>   case GTPIE_RP:<br>
>   case GTPIE_MS_NOT_REACH:<br>
> + case GTPIE_BCM:<br>
>   iesize = 2;<br>
>   break;<br>
>   case GTPIE_PFI: /* TV GTPIE types with value length 2 */<br>
> diff --git a/gtp/gtpie.h b/gtp/gtpie.h<br>
> index 340a76c..fb8598e 100644<br>
> --- a/gtp/gtpie.h<br>
> +++ b/gtp/gtpie.h<br>
> @@ -106,6 +106,7 @@ static __inline uint64_t hton64(uint64_t q)<br>
>  #define GTPIE_USER_LOC      152 /* User Location Information  */<br>
>  #define GTPIE_MS_TZ         153 /* MS Time Zone */<br>
>  #define GTPIE_IMEI_SV       154 /* IMEI Software Version */<br>
> +#define GTPIE_BCM           184 /* Bearer control mode */<br>
>  /* 239-250 Reserved for the GPRS charging protocol (see GTP' in GSM 12.15)<br>
> */<br>
>  #define GTPIE_CHARGING_ADDR 251 /* Charging Gateway Address */<br>
>  /* 252-254 Reserved for the GPRS charging protocol (see GTP' in GSM 12.15)<br>
> */<br>
> --<br>
> 2.8.2.windows.1<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
- Neels Hofmeyr <<a href="mailto:nhofmeyr@sysmocom.de">nhofmeyr@sysmocom.de</a>>          <a href="http://www.sysmocom.de/" rel="noreferrer" target="_blank">http://www.sysmocom.de/</a><br>
==============================<wbr>==============================<wbr>===========<br>
* sysmocom - systems for mobile communications GmbH<br>
* Alt-Moabit 93<br>
* 10559 Berlin, Germany<br>
* Sitz / Registered office: Berlin, HRB 134158 B<br>
* Geschäftsführer / Managing Directors: Harald Welte<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div><br></div><div>Jovan Bunjevački.<br></div></div>
</div>