author | Michael Krelin <hacker@klever.net> | 2011-04-27 14:18:48 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2011-04-27 14:18:48 (UTC) |
commit | c3b240e06bae3b663505e2b1c52eb67c34ddd3ea (patch) (unidiff) | |
tree | 06793f5d56a8129bfdaaee441fc34fbb361ddb13 /PumpKINDlg.cpp | |
parent | d097b824b7fcad001c9581fb2e322bf3e3e5961d (diff) | |
download | pumpkin-c3b240e06bae3b663505e2b1c52eb67c34ddd3ea.zip pumpkin-c3b240e06bae3b663505e2b1c52eb67c34ddd3ea.tar.gz pumpkin-c3b240e06bae3b663505e2b1c52eb67c34ddd3ea.tar.bz2 |
network settings: bind to specific ip address
Signed-off-by: Michael Krelin <hacker@klever.net>
-rwxr-xr-x | PumpKINDlg.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/PumpKINDlg.cpp b/PumpKINDlg.cpp index 3ff1500..0c5c19b 100755 --- a/PumpKINDlg.cpp +++ b/PumpKINDlg.cpp | |||
@@ -1207,71 +1207,73 @@ CString rv = m_Daddy->m_TFTPRoot; | |||
1207 | if(rv[rv.GetLength()-1]!='\\') | 1207 | if(rv[rv.GetLength()-1]!='\\') |
1208 | rv+="\\"; | 1208 | rv+="\\"; |
1209 | while((!fn.IsEmpty()) && fn[0]=='\\') | 1209 | while((!fn.IsEmpty()) && fn[0]=='\\') |
1210 | fn=fn.Mid(1); | 1210 | fn=fn.Mid(1); |
1211 | rv+=fn; | 1211 | rv+=fn; |
1212 | return rv; | 1212 | return rv; |
1213 | } | 1213 | } |
1214 | 1214 | ||
1215 | void CPumpKINDlg::OnOptions() | 1215 | void CPumpKINDlg::OnOptions() |
1216 | { | 1216 | { |
1217 | CPropertySheet cps(IDS_TITLE_OPTIONS,this); | 1217 | CPropertySheet cps(IDS_TITLE_OPTIONS,this); |
1218 | CPropsServer server; | 1218 | CPropsServer server; |
1219 | CPropsNetwork network; | 1219 | CPropsNetwork network; |
1220 | CPropsSounds sounds; | 1220 | CPropsSounds sounds; |
1221 | CPropsACL acl; | 1221 | CPropsACL acl; |
1222 | 1222 | ||
1223 | server.m_RRQMode=m_RRQMode; | 1223 | server.m_RRQMode=m_RRQMode; |
1224 | server.m_TFTPRoot=m_TFTPRoot; | 1224 | server.m_TFTPRoot=m_TFTPRoot; |
1225 | server.m_TFTPSubdirs=m_bTFTPSubdirs; | 1225 | server.m_TFTPSubdirs=m_bTFTPSubdirs; |
1226 | server.m_WRQMode=m_WRQMode; | 1226 | server.m_WRQMode=m_WRQMode; |
1227 | server.m_PromptTimeOut=m_PromptTimeOut; | 1227 | server.m_PromptTimeOut=m_PromptTimeOut; |
1228 | server.m_LogFile=m_LogFile; | 1228 | server.m_LogFile=m_LogFile; |
1229 | 1229 | ||
1230 | network.m_ListenPort=m_ListenPort; | 1230 | network.m_ListenPort=m_ListenPort; |
1231 | network.m_ListenAddress=m_ListenAddress; | ||
1231 | network.m_SpeakPort=m_SpeakPort; | 1232 | network.m_SpeakPort=m_SpeakPort; |
1232 | network.m_TimeOut=m_TFTPTimeOut.GetTotalSeconds(); | 1233 | network.m_TimeOut=m_TFTPTimeOut.GetTotalSeconds(); |
1233 | network.m_BlockSize=m_BlockSize; | 1234 | network.m_BlockSize=m_BlockSize; |
1234 | 1235 | ||
1235 | sounds.m_Request = m_bnwRequest; | 1236 | sounds.m_Request = m_bnwRequest; |
1236 | sounds.m_Success = m_bnwSuccess; | 1237 | sounds.m_Success = m_bnwSuccess; |
1237 | sounds.m_Abort = m_bnwAbort; | 1238 | sounds.m_Abort = m_bnwAbort; |
1238 | 1239 | ||
1239 | acl.m_rulist = m_aclRules; | 1240 | acl.m_rulist = m_aclRules; |
1240 | 1241 | ||
1241 | cps.AddPage(&server); | 1242 | cps.AddPage(&server); |
1242 | cps.AddPage(&network); | 1243 | cps.AddPage(&network); |
1243 | cps.AddPage(&sounds); | 1244 | cps.AddPage(&sounds); |
1244 | cps.AddPage(&acl); | 1245 | cps.AddPage(&acl); |
1245 | if(cps.DoModal()==IDOK){ | 1246 | if(cps.DoModal()==IDOK){ |
1246 | m_RRQMode=server.m_RRQMode; | 1247 | m_RRQMode=server.m_RRQMode; |
1247 | m_TFTPRoot=server.m_TFTPRoot; | 1248 | m_TFTPRoot=server.m_TFTPRoot; |
1248 | m_bTFTPSubdirs=server.m_TFTPSubdirs; | 1249 | m_bTFTPSubdirs=server.m_TFTPSubdirs; |
1249 | m_WRQMode=server.m_WRQMode; | 1250 | m_WRQMode=server.m_WRQMode; |
1250 | m_PromptTimeOut=server.m_PromptTimeOut; | 1251 | m_PromptTimeOut=server.m_PromptTimeOut; |
1251 | m_LogFile=server.m_LogFile; | 1252 | m_LogFile=server.m_LogFile; |
1252 | 1253 | ||
1253 | m_ListenPort=network.m_ListenPort; | 1254 | m_ListenPort=network.m_ListenPort; |
1255 | m_ListenAddress=network.m_ListenAddress; | ||
1254 | m_SpeakPort=network.m_SpeakPort; | 1256 | m_SpeakPort=network.m_SpeakPort; |
1255 | m_TFTPTimeOut=CTimeSpan(network.m_TimeOut); | 1257 | m_TFTPTimeOut=CTimeSpan(network.m_TimeOut); |
1256 | m_BlockSize=network.m_BlockSize; | 1258 | m_BlockSize=network.m_BlockSize; |
1257 | 1259 | ||
1258 | m_bnwRequest = sounds.m_Request; | 1260 | m_bnwRequest = sounds.m_Request; |
1259 | m_bnwSuccess = sounds.m_Success; | 1261 | m_bnwSuccess = sounds.m_Success; |
1260 | m_bnwAbort = sounds.m_Abort; | 1262 | m_bnwAbort = sounds.m_Abort; |
1261 | 1263 | ||
1262 | m_aclRules = acl.m_rulist; | 1264 | m_aclRules = acl.m_rulist; |
1263 | 1265 | ||
1264 | m_lastlogerr.Empty(); | 1266 | m_lastlogerr.Empty(); |
1265 | } | 1267 | } |
1266 | } | 1268 | } |
1267 | 1269 | ||
1268 | BOOL CRRQSocket::ConfirmRequest() | 1270 | BOOL CRRQSocket::ConfirmRequest() |
1269 | { | 1271 | { |
1270 | CConfirmRRQDlg cd(NULL); | 1272 | CConfirmRRQDlg cd(NULL); |
1271 | cd.m_Daddy=this; | 1273 | cd.m_Daddy=this; |
1272 | cd.m_File=m_FileName; | 1274 | cd.m_File=m_FileName; |
1273 | cd.m_Host=inet_ntoa(m_Peer.sin_addr); | 1275 | cd.m_Host=inet_ntoa(m_Peer.sin_addr); |
1274 | if(cd.DoModal()==IDOK) | 1276 | if(cd.DoModal()==IDOK) |
1275 | return TRUE; | 1277 | return TRUE; |
1276 | return FALSE; | 1278 | return FALSE; |
1277 | } | 1279 | } |
@@ -1854,78 +1856,80 @@ void CPumpKINDlg::OnTrayHelp() | |||
1854 | { | 1856 | { |
1855 | OnHelp(); | 1857 | OnHelp(); |
1856 | } | 1858 | } |
1857 | 1859 | ||
1858 | void CPumpKINDlg::OnTrayOptions() | 1860 | void CPumpKINDlg::OnTrayOptions() |
1859 | { | 1861 | { |
1860 | OnOptions(); | 1862 | OnOptions(); |
1861 | } | 1863 | } |
1862 | 1864 | ||
1863 | void CPumpKINDlg::OnTraySendfile() | 1865 | void CPumpKINDlg::OnTraySendfile() |
1864 | { | 1866 | { |
1865 | OnPut(); | 1867 | OnPut(); |
1866 | } | 1868 | } |
1867 | 1869 | ||
1868 | void CPumpKINDlg::LoadSettings() | 1870 | void CPumpKINDlg::LoadSettings() |
1869 | { | 1871 | { |
1870 | CWinApp *app = AfxGetApp(); | 1872 | CWinApp *app = AfxGetApp(); |
1871 | ASSERT(app); | 1873 | ASSERT(app); |
1872 | m_bListen=app->GetProfileInt("TFTPSettings","Listen",m_bListen); | 1874 | m_bListen=app->GetProfileInt("TFTPSettings","Listen",m_bListen); |
1873 | m_bnwRequest=app->GetProfileString("BellsNWhistles","Request",m_bnwRequest); | 1875 | m_bnwRequest=app->GetProfileString("BellsNWhistles","Request",m_bnwRequest); |
1874 | m_bnwSuccess=app->GetProfileString("BellsNWhistles","Success",m_bnwSuccess); | 1876 | m_bnwSuccess=app->GetProfileString("BellsNWhistles","Success",m_bnwSuccess); |
1875 | m_bnwAbort=app->GetProfileString("BellsNWhistles","Abort",m_bnwAbort); | 1877 | m_bnwAbort=app->GetProfileString("BellsNWhistles","Abort",m_bnwAbort); |
1876 | m_bTFTPSubdirs=app->GetProfileInt("TFTPSettings","Subdirs",m_bTFTPSubdirs); | 1878 | m_bTFTPSubdirs=app->GetProfileInt("TFTPSettings","Subdirs",m_bTFTPSubdirs); |
1877 | m_ListenPort=app->GetProfileInt("TFTPSettings","ListenPort",m_ListenPort); | 1879 | m_ListenPort=app->GetProfileInt("TFTPSettings","ListenPort",m_ListenPort); |
1880 | m_ListenAddress=app->GetProfileString("TFTPSettings","ListenAddress",m_ListenAddress); | ||
1878 | m_LogLength=app->GetProfileInt("UISettings","LogLength",m_LogLength); | 1881 | m_LogLength=app->GetProfileInt("UISettings","LogLength",m_LogLength); |
1879 | m_PromptTimeOut=app->GetProfileInt("UISettings","PromptTimeout",m_PromptTimeOut); | 1882 | m_PromptTimeOut=app->GetProfileInt("UISettings","PromptTimeout",m_PromptTimeOut); |
1880 | m_RRQMode=app->GetProfileInt("TFTPSettings","RRQMode",m_RRQMode); | 1883 | m_RRQMode=app->GetProfileInt("TFTPSettings","RRQMode",m_RRQMode); |
1881 | m_SpeakPort=app->GetProfileInt("TFTPSettings","SpeakPort",m_SpeakPort); | 1884 | m_SpeakPort=app->GetProfileInt("TFTPSettings","SpeakPort",m_SpeakPort); |
1882 | m_TFTPRoot=app->GetProfileString("TFTPSettings","TFTPRoot",m_TFTPRoot); | 1885 | m_TFTPRoot=app->GetProfileString("TFTPSettings","TFTPRoot",m_TFTPRoot); |
1883 | m_LogFile=app->GetProfileString("General","LogFile",m_LogFile); | 1886 | m_LogFile=app->GetProfileString("General","LogFile",m_LogFile); |
1884 | m_TFTPTimeOut=CTimeSpan(app->GetProfileInt("TFTPSettings","TFTPTimeout",m_TFTPTimeOut.GetTotalSeconds())); | 1887 | m_TFTPTimeOut=CTimeSpan(app->GetProfileInt("TFTPSettings","TFTPTimeout",m_TFTPTimeOut.GetTotalSeconds())); |
1885 | m_BlockSize=app->GetProfileInt("TFTPSettings","TFTPBlockSize",m_BlockSize); | 1888 | m_BlockSize=app->GetProfileInt("TFTPSettings","TFTPBlockSize",m_BlockSize); |
1886 | m_RetryTimeOut=CTimeSpan(app->GetProfileInt("TFTPSettings","RetryTimeout",m_RetryTimeOut.GetTotalSeconds())); | 1889 | m_RetryTimeOut=CTimeSpan(app->GetProfileInt("TFTPSettings","RetryTimeout",m_RetryTimeOut.GetTotalSeconds())); |
1887 | m_WRQMode=app->GetProfileInt("TFTPSettings","WRQMode",m_WRQMode); | 1890 | m_WRQMode=app->GetProfileInt("TFTPSettings","WRQMode",m_WRQMode); |
1888 | m_bShown=app->GetProfileInt("UISettings","Visble",m_bShown); | 1891 | m_bShown=app->GetProfileInt("UISettings","Visble",m_bShown); |
1889 | if(m_TFTPRoot.IsEmpty()){ | 1892 | if(m_TFTPRoot.IsEmpty()){ |
1890 | DWORD dL = ::GetCurrentDirectory(0,NULL); | 1893 | DWORD dL = ::GetCurrentDirectory(0,NULL); |
1891 | VERIFY(::GetCurrentDirectory(dL,m_TFTPRoot.GetBuffer(dL))); | 1894 | VERIFY(::GetCurrentDirectory(dL,m_TFTPRoot.GetBuffer(dL))); |
1892 | m_TFTPRoot.ReleaseBuffer(); | 1895 | m_TFTPRoot.ReleaseBuffer(); |
1893 | } | 1896 | } |
1894 | ::SetCurrentDirectory(m_TFTPRoot); | 1897 | ::SetCurrentDirectory(m_TFTPRoot); |
1895 | m_aclRules.LoadProfile(app); | 1898 | m_aclRules.LoadProfile(app); |
1896 | } | 1899 | } |
1897 | 1900 | ||
1898 | void CPumpKINDlg::SaveSettings() | 1901 | void CPumpKINDlg::SaveSettings() |
1899 | { | 1902 | { |
1900 | CWinApp *app = AfxGetApp(); | 1903 | CWinApp *app = AfxGetApp(); |
1901 | ASSERT(app); | 1904 | ASSERT(app); |
1902 | app->WriteProfileInt("TFTPSettings","Listen",m_bListen); | 1905 | app->WriteProfileInt("TFTPSettings","Listen",m_bListen); |
1903 | app->WriteProfileString("BellsNWhistles","Request",m_bnwRequest); | 1906 | app->WriteProfileString("BellsNWhistles","Request",m_bnwRequest); |
1904 | app->WriteProfileString("BellsNWhistles","Success",m_bnwSuccess); | 1907 | app->WriteProfileString("BellsNWhistles","Success",m_bnwSuccess); |
1905 | app->WriteProfileString("BellsNWhistles","Abort",m_bnwAbort); | 1908 | app->WriteProfileString("BellsNWhistles","Abort",m_bnwAbort); |
1906 | app->WriteProfileInt("TFTPSettings","Subdirs",m_bTFTPSubdirs); | 1909 | app->WriteProfileInt("TFTPSettings","Subdirs",m_bTFTPSubdirs); |
1907 | app->WriteProfileInt("TFTPSettings","ListenPort",m_ListenPort); | 1910 | app->WriteProfileInt("TFTPSettings","ListenPort",m_ListenPort); |
1911 | app->WriteProfileString("TFTPSettings","ListenAddress",m_ListenAddress); | ||
1908 | app->WriteProfileInt("UISettings","LogLength",m_LogLength); | 1912 | app->WriteProfileInt("UISettings","LogLength",m_LogLength); |
1909 | app->WriteProfileInt("UISettings","PromptTimeout",m_PromptTimeOut); | 1913 | app->WriteProfileInt("UISettings","PromptTimeout",m_PromptTimeOut); |
1910 | app->WriteProfileInt("TFTPSettings","RRQMode",m_RRQMode); | 1914 | app->WriteProfileInt("TFTPSettings","RRQMode",m_RRQMode); |
1911 | app->WriteProfileInt("TFTPSettings","SpeakPort",m_SpeakPort); | 1915 | app->WriteProfileInt("TFTPSettings","SpeakPort",m_SpeakPort); |
1912 | app->WriteProfileString("TFTPSettings","TFTPRoot",m_TFTPRoot); | 1916 | app->WriteProfileString("TFTPSettings","TFTPRoot",m_TFTPRoot); |
1913 | app->WriteProfileString("General","LogFile",m_LogFile); | 1917 | app->WriteProfileString("General","LogFile",m_LogFile); |
1914 | app->WriteProfileInt("TFTPSettings","TFTPTimeout",m_TFTPTimeOut.GetTotalSeconds()); | 1918 | app->WriteProfileInt("TFTPSettings","TFTPTimeout",m_TFTPTimeOut.GetTotalSeconds()); |
1915 | app->WriteProfileInt("TFTPSettings","TFTPBlockSize",m_BlockSize); | 1919 | app->WriteProfileInt("TFTPSettings","TFTPBlockSize",m_BlockSize); |
1916 | app->WriteProfileInt("TFTPSettings","RetryTimeout",m_RetryTimeOut.GetTotalSeconds()); | 1920 | app->WriteProfileInt("TFTPSettings","RetryTimeout",m_RetryTimeOut.GetTotalSeconds()); |
1917 | app->WriteProfileInt("TFTPSettings","WRQMode",m_WRQMode); | 1921 | app->WriteProfileInt("TFTPSettings","WRQMode",m_WRQMode); |
1918 | app->WriteProfileInt("UISettings","Visble",m_bShown); | 1922 | app->WriteProfileInt("UISettings","Visble",m_bShown); |
1919 | m_aclRules.SaveProfile(app); | 1923 | m_aclRules.SaveProfile(app); |
1920 | } | 1924 | } |
1921 | 1925 | ||
1922 | void CPumpKINDlg::OnWindowPosChanging(WINDOWPOS FAR* lpwndpos) | 1926 | void CPumpKINDlg::OnWindowPosChanging(WINDOWPOS FAR* lpwndpos) |
1923 | { | 1927 | { |
1924 | CDialog::OnWindowPosChanging(lpwndpos); | 1928 | CDialog::OnWindowPosChanging(lpwndpos); |
1925 | if(!m_bExiting){ | 1929 | if(!m_bExiting){ |
1926 | if(m_bShown){ | 1930 | if(m_bShown){ |
1927 | lpwndpos->flags&=~SWP_HIDEWINDOW; | 1931 | lpwndpos->flags&=~SWP_HIDEWINDOW; |
1928 | lpwndpos->flags|=SWP_SHOWWINDOW; | 1932 | lpwndpos->flags|=SWP_SHOWWINDOW; |
1929 | }else{ | 1933 | }else{ |
1930 | lpwndpos->flags&=~SWP_SHOWWINDOW; | 1934 | lpwndpos->flags&=~SWP_SHOWWINDOW; |
1931 | lpwndpos->flags|=SWP_HIDEWINDOW; | 1935 | lpwndpos->flags|=SWP_HIDEWINDOW; |
@@ -2046,58 +2050,56 @@ void CXferSocket::OnRetry() | |||
2046 | tftp* tftp::Copy(tftp *src) | 2050 | tftp* tftp::Copy(tftp *src) |
2047 | { | 2051 | { |
2048 | ASSERT(src); | 2052 | ASSERT(src); |
2049 | ASSERT(src->length); | 2053 | ASSERT(src->length); |
2050 | tftp* rv = Allocate(src->length); | 2054 | tftp* rv = Allocate(src->length); |
2051 | ASSERT(rv); | 2055 | ASSERT(rv); |
2052 | memmove(rv,src,tftpSlackSize+src->length); | 2056 | memmove(rv,src,tftpSlackSize+src->length); |
2053 | return rv; | 2057 | return rv; |
2054 | } | 2058 | } |
2055 | 2059 | ||
2056 | void CXferSocket::SetTry(tftp *p) | 2060 | void CXferSocket::SetTry(tftp *p) |
2057 | { | 2061 | { |
2058 | if(m_Retry) | 2062 | if(m_Retry) |
2059 | delete m_Retry; | 2063 | delete m_Retry; |
2060 | m_Retry=p?tftp::Copy(p):NULL; | 2064 | m_Retry=p?tftp::Copy(p):NULL; |
2061 | } | 2065 | } |
2062 | 2066 | ||
2063 | void CPumpKINDlg::OnHelp() | 2067 | void CPumpKINDlg::OnHelp() |
2064 | { | 2068 | { |
2065 | AfxGetApp()->WinHelp(0,HELP_FINDER); | 2069 | AfxGetApp()->WinHelp(0,HELP_FINDER); |
2066 | } | 2070 | } |
2067 | 2071 | ||
2068 | BOOL CListenSocket::SetListen(BOOL b) { | 2072 | BOOL CListenSocket::SetListen(BOOL b) { |
2069 | ASSERT(m_Daddy); | 2073 | ASSERT(m_Daddy); |
2070 | if(b==m_bListen) | 2074 | if(b==m_bListen) return TRUE; |
2071 | return TRUE; | 2075 | if(!b) { |
2072 | if(b) { | ||
2073 | if(!Create(m_Daddy->m_ListenPort,SOCK_DGRAM)) | ||
2074 | return FALSE; | ||
2075 | return m_bListen=TRUE; | ||
2076 | }else{ | ||
2077 | Close(); m_bListen=FALSE; | 2076 | Close(); m_bListen=FALSE; |
2078 | return TRUE; | 2077 | return TRUE; |
2079 | } | 2078 | } |
2079 | return m_bListen=Create(m_Daddy->m_ListenPort,SOCK_DGRAM, | ||
2080 | FD_READ|FD_WRITE|FD_OOB|FD_ACCEPT|FD_CONNECT|FD_CLOSE, | ||
2081 | m_Daddy->m_ListenAddress.IsEmpty()?NULL:(LPCTSTR)m_Daddy->m_ListenAddress); | ||
2080 | } | 2082 | } |
2081 | 2083 | ||
2082 | void CPumpKINDlg::OnListening() | 2084 | void CPumpKINDlg::OnListening() |
2083 | { | 2085 | { |
2084 | if(!m_Listener.SetListen(m_ListenCtl.GetCheck()==1)) { | 2086 | if(!m_Listener.SetListen(m_ListenCtl.GetCheck()==1)) { |
2085 | TRACE0("Failed to create socket\n"); | 2087 | TRACE0("Failed to create socket\n"); |
2086 | AfxMessageBox(IDS_BOX_CANTBIND,MB_OK|MB_ICONEXCLAMATION); | 2088 | AfxMessageBox(IDS_BOX_CANTBIND,MB_OK|MB_ICONEXCLAMATION); |
2087 | } | 2089 | } |
2088 | m_ListenCtl.SetCheck(m_Listener.m_bListen?1:0); | 2090 | m_ListenCtl.SetCheck(m_Listener.m_bListen?1:0); |
2089 | m_bListen=m_Listener.m_bListen; | 2091 | m_bListen=m_Listener.m_bListen; |
2090 | } | 2092 | } |
2091 | 2093 | ||
2092 | void CPumpKINDlg::OnTrayListen() | 2094 | void CPumpKINDlg::OnTrayListen() |
2093 | { | 2095 | { |
2094 | if(!m_Listener.SetListen(!m_Listener.m_bListen)) { | 2096 | if(!m_Listener.SetListen(!m_Listener.m_bListen)) { |
2095 | TRACE0("Failed to create socket\n"); | 2097 | TRACE0("Failed to create socket\n"); |
2096 | AfxMessageBox(IDS_BOX_CANTBIND,MB_OK|MB_ICONEXCLAMATION); | 2098 | AfxMessageBox(IDS_BOX_CANTBIND,MB_OK|MB_ICONEXCLAMATION); |
2097 | } | 2099 | } |
2098 | m_ListenCtl.SetCheck(m_Listener.m_bListen?1:0); | 2100 | m_ListenCtl.SetCheck(m_Listener.m_bListen?1:0); |
2099 | m_bListen=m_Listener.m_bListen; | 2101 | m_bListen=m_Listener.m_bListen; |
2100 | } | 2102 | } |
2101 | 2103 | ||
2102 | void CPumpKINDlg::LogLine(LPCTSTR str) | 2104 | void CPumpKINDlg::LogLine(LPCTSTR str) |
2103 | { | 2105 | { |