403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/misc/rump/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/misc/rump/files/patch-src_sys_net_if__spppsubr.c
--- src/sys/net/if_spppsubr.c.orig	2016-08-02 11:51:10 UTC
+++ src/sys/net/if_spppsubr.c
@@ -3185,7 +3185,7 @@ sppp_ipcp_scr(struct sppp *sp)
 
 #ifdef notyet
 	if (sp->ipcp.opts & (1 << IPCP_OPT_COMPRESSION)) {
-		opt[i++] = IPCP_OPT_COMPRESSION;
+		opt[i++] = (char)IPCP_OPT_COMPRESSION;
 		opt[i++] = 6;
 		opt[i++] = 0;	/* VJ header compression */
 		opt[i++] = 0x2d; /* VJ header compression */
@@ -3210,7 +3210,7 @@ sppp_ipcp_scr(struct sppp *sp)
 #endif
 
 	if (sp->query_dns & 1) {
-		opt[i++] = IPCP_OPT_PRIMDNS;
+		opt[i++] = (char)IPCP_OPT_PRIMDNS;
 		opt[i++] = 6;
 		opt[i++] = sp->dns_addrs[0] >> 24;
 		opt[i++] = sp->dns_addrs[0] >> 16;
@@ -3218,7 +3218,7 @@ sppp_ipcp_scr(struct sppp *sp)
 		opt[i++] = sp->dns_addrs[0];
 	}
 	if (sp->query_dns & 2) {
-		opt[i++] = IPCP_OPT_SECDNS;
+		opt[i++] = (char)IPCP_OPT_SECDNS;
 		opt[i++] = 6;
 		opt[i++] = sp->dns_addrs[1] >> 24;
 		opt[i++] = sp->dns_addrs[1] >> 16;

Youez - 2016 - github.com/yon3zu
LinuXploit